Posted by Akhenaten on 05/16/07 19:37
This sql query is good but I'm having trouble echoing the results with
php (no data echoed). Suggestions?
*************
$open_C = 'select * '
. ' from questions , users '
. ' where users . username = "X" LIMIT 0, 30 ';
// Fetch each row of the results into an array $q_row
while ($q_row = @mysql_fetch_array($open_C))
{
echo "ID:\t{$q_row['question']}\n";
}
*************
Thank you.
Navigation:
[Reply to this message]
|