Hey Everyone,
Here's the code:
[php]
$query = mysql_query("SE LECT 'column' FROM table WHERE location='$loca tion'");
$queryA = mysql_fetch_arr ay($query,MYSQL _NUM);
[/php]
MYSQL_NUM_ROWS claims that $query returns 2 rows. However, for some I am not able to access $queryA. I imagine some thing's wrong with my fetch array function. But I'm kind of at a loss of ideas here.
Thanks alot for the help,
Sake
Here's the code:
[php]
$query = mysql_query("SE LECT 'column' FROM table WHERE location='$loca tion'");
$queryA = mysql_fetch_arr ay($query,MYSQL _NUM);
[/php]
MYSQL_NUM_ROWS claims that $query returns 2 rows. However, for some I am not able to access $queryA. I imagine some thing's wrong with my fetch array function. But I'm kind of at a loss of ideas here.
Thanks alot for the help,
Sake
Comment