RE: Help with selects

2002-03-10 Thread Dan Vande More
Kacey, I used this, works great! http://www.netmechanic.com/news/vol3/javascript_no12.htm -Original Message- From: Kacey A. Murphy [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 10, 2002 1:43 PM To: [EMAIL PROTECTED] Subject: RE: Help with selects I am doing a similar thing except I

Re: Help with selects

2002-03-10 Thread Alex Behrens
ED]> To: <[EMAIL PROTECTED]> Sent: Sunday, March 10, 2002 2:42 PM Subject: RE: Help with selects > I am doing a similar thing except I don't want to use a button I want > once you select for it to auto refresh and grab the data, is this > possible. > > Kacey! > > >

RE: Help with selects

2002-03-10 Thread Kacey A. Murphy
I am doing a similar thing except I don't want to use a button I want once you select for it to auto refresh and grab the data, is this possible. Kacey! -Original Message- Subject: Re: Help with selects Hi Alex, Try the following: if ($submit) { /* process form */

Re: Help with selects

2002-03-10 Thread c.smart
Hi Alex, Try the following: if ($submit) { /* process form */ if($namequery = mysql_query("SELECT * FROM rahs WHERE name='$name'") { while($set=mysql_fetch_array($namequery)) { printf ( "Name: %s",$set["playername"]); printf ("$stat: %s",$set[$stat]); } } e

Help with selects

2002-03-10 Thread Alex Behrens
Hey Guys, I'm trying to get a form to submit to a mysql script and pull different variables when you select different values from the form, but I can't get it to work, can someone help me? Here's my code so far: ",$set["playername"]); } while($stats2=mysql_fetch_array($stats)): printf ("$stat: