nevermind, stupid me, I got it working... -----Original Message----- From: Edward Peloke [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 5:04 PM To: [EMAIL PROTECTED] 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 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php