RE: [PHP-DB] space in query
| From: | (Edward Peloke) | Date: | Thu, 10 Oct 2002 21:05:34 +0000 |
| Subject: | RE: [PHP-DB] space in query | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-22327@lists.php.net to get a copy of this message | ||
nevermind, stupid me, I got it working...
-----Original Message-----
From: Edward Peloke [mailto:epeloke@echoman.com]
Sent: Thursday, October 10, 2002 5:04 PM
To: php-db@lists.php.net
Subject: [PHP-DB] space in query
forgive the basic question but how do I add a space in my query....
$result=mysql_query("SELECT * from ".$dbname.".grades WHERE user_id=".$uid.
" and subject=".$subject,$db);
I need to force a space between $uid and 'and' and I don't think simply
pressing the space bar does it.
Thanks,
Eddie
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php