Newbie mysql question
| From: | John Wulff | Date: | Fri, 19 Jul 2002 20:47:22 +0000 |
| Subject: | Newbie mysql question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-108572@lists.php.net to get a copy of this message | ||
If i KNOW this query will only return one "piece" of data, what, php'ly
speaking, must i do to assign it to the var $id?
SELECT id FROM ma_users WHERE user='$PHP_AUTH_USER'