Stupid question about queries
Posted: Sat Sep 07, 2002 5:28 am
I read somewhere in here that php only allows one query for security...
question is if im doing this:
in my code, and i then need to do an query dependant on a variable returned in the above query can i do it? ie something like...
if not suggestions?
question is if im doing this:
Code: Select all
<?php
while ($row = mysql_fetch_array($result))
?>Code: Select all
<?php
while ($row = mysql_fetch_array($result)){
//Stuff
if ($rowї'thing'] = this){
$result2 = mysql_query("SELECT * FROM xxx WHERE xax = '$rowї'thing']'");
//more stuff
}
?>