Re: [PHP] dynamic variables in sq?l

2002-01-25 Thread Mehmet Kamil ERISEN
ED]> > To: "Raymond Lilleodegard" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Friday, January 25, 2002 8:00 PM > Subject: Re: [PHP] dynamic variables in sq?l > > > > Can you show how your mysql table is set up? Otherwise > I am no

Re: [PHP] dynamic variables in sq?l

2002-01-25 Thread Raymond Lilleødegård
gt; To: "Raymond Lilleodegard" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, January 25, 2002 8:00 PM Subject: Re: [PHP] dynamic variables in sq?l > Can you show how your mysql table is set up? Otherwise I am not quite sure > what you are trying to do with your

Re: [PHP] dynamic variables in sq?l

2002-01-25 Thread Jeff Sheltren
Can you show how your mysql table is set up? Otherwise I am not quite sure what you are trying to do with your SQL statement. Jeff > And then I am trying to get the price out of a table in my database with > this code: > > > $sql = mysql_query("SELECT '$car' FROM varetabell where carid='$carid'

[PHP] dynamic variables in sq?l

2002-01-25 Thread Raymond Lilleodegard
Hi all! I have this form with some choices: Enter how many cars you want: ford bmw mercedes And then I am trying to get the price out of a table in my database with this code: $sql = mysql_query("SELECT '$car' FROM varetabell where carid='$carid' "); $myrow= mysql_fetch_array($sql); $x = $