> When I view on my web page, the $number value comes out fine, but the $name
> comes out as "Resource ID #x" where x is some number. Currently is says
> "Resource ID #6". I know the SQL syntax is right, I have tested it. But what
> is wrong here?
The mysql_query command returns a result set, not the 'value' of the
query. Look up the mysql_fetch_array
mysql_fetch_row commands. There are also several variants of these that
return slightly different formats.
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php