|
Posted by Andy Hassall on 06/26/06 19:52
On 26 Jun 2006 12:31:59 -0700, daksport00@gmail.com wrote:
>$mbrguid = (mysql_query(SELECT guid FROM users WHERE id='$inviteid'")
>if (is_null($mrbguid)){go into error page}
>
>The problem I am having is that when I echo the $mrbguid variable, it
>return a value of "Resource ID #19". This value doesn't appear in the
>Users table anywhere, let alone in ANY table.
This is how mysql_query works, it returns a result set resource.
http://uk.php.net/mysql_query
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|