|
-
Jun 26th, 2001, 07:21 AM
#1
Thread Starter
Frenzied Member
What is wrong!
here's my code:
Code:
<%
set conn = server.createobject("ADODB.Connection")
set rs = server.createobject("ADODB.Recordset")
conn.provider = "Microsoft Jet 4.0 OLE DB Provider"
conn.connectionString="i:\wwwroot\bayteksystems\clients\designshirt\db\designshirt.mdb"
conn.open()
set rs=conn.execute("SELECT * FROM tblCategory ORDER BY categoryName ASC")
categoryArray=rs.getRows
set rs=conn.execute("SELECT * FROM tblStyle ORDER BY styleName ASC")
styleArray=rs.getRows
set rs=conn.execute("SELECT * FROM tblColor ORDER BY colorName ASC")
colorArray=rs.getRows
conn.close()
%>
<html>
<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<select name="category">
<%
for x = 0 to ubound(categoryArray,2)
response.write "<option value=" & categoryArray(0,x) & ">" & categoryArray(1,x) & "</option>" & vbcrlf
next
%>
</select>
</td>
</tr>
</table>
</body>
</html>
click here to see
in explorer it's ok,since i start programming that is how i do it!!
it's just a select box, but in netscape, instead of a select,
it put the word one after each other!!
if you have netscape please click on the link!!
-
Jun 26th, 2001, 07:45 AM
#2
Frenzied Member
First, I think I will begin a campaign to have you booted from the boards. You don't need to post threads that point people to this thread. I'm sick of seeing that crap. Cut it out.
Second, it works just fine in Netscape. I tried it. Unless you've fixed it since you made this post.
Now in the code below, you've got three inputs in one TD. If you wanted to space them out, try three TDs with equal spacing. You have nothing in the code below that forces them to be spaced.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Jun 26th, 2001, 08:07 AM
#3
Frenzied Member
Wait a minute... there are no selects, just options. I've missed something.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Jun 26th, 2001, 08:07 AM
#4
Thread Starter
Frenzied Member
relax, what is the problem,
what does it do to you!!
why you even bother try to anwser my ?
if your so fed up with me!!
did i post my question in the vbforum,
NO, just in the asp & javascript forum,
those 2 forum can be related with my question!!,
whatever, yes now it's fix,
it was because i was missing my form tag!!
-
Jun 26th, 2001, 08:10 AM
#5
Frenzied Member
Originally posted by sebs
relax, what is the problem,
what does it do to you!!
why you even bother try to anwser my ?
if your so fed up with me!!
did i post my question in the vbforum,
NO, just in the asp & javascript forum,
those 2 forum can be related with my question!!,
whatever, yes now it's fix,
it was because i was missing my form tag!!
Yeah, there's no form tags, either.
I answer because I'm trying to get this thread over with quickly. This was an HTML question, not a JavaScript question, not an ASP question. This is only forum it needed to be in, you should not have posted this anywhere else!
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|