ok I have a simple question, I think
When I create a query and assign the results to a variable, I can only get the data out of the variable 1 time, when I try to call the variable again the variable is empty
///////////////////////////Example Script
$qry = "SELECT *
FROM table_tester
WHERE city = 'sfo'
";
$result = mysql_query($qry_result, $db);
while ($row=mysql_fetch_array($result))
{
$row[city] = $city[];
}
while ($row2=mysql_fetch_array($result))
{
$row2[city] = $city2[];
}
///////////////////////////End Example Script
when I run this script $row2/$city2 return no results
How do I fix this?
Thanks for your help