PHP Variable in mySQl Statement
Posted: Fri Apr 27, 2007 5:39 pm
Hi
Can anyone tell me if its possible to combine a php variable & an sql statement
I have a standard SQl selct statement such as "Select * from table"
the following lines of code then results in a php variable such as
$totalnumber_rows table blah blah
how can I select the primary key from a table that corresponds to the row number returned above.
cheers folks
Tim
Can anyone tell me if its possible to combine a php variable & an sql statement
I have a standard SQl selct statement such as "Select * from table"
the following lines of code then results in a php variable such as
$totalnumber_rows table blah blah
how can I select the primary key from a table that corresponds to the row number returned above.
cheers folks
Tim