space in query

From: Date: Thu, 10 Oct 2002 21:04:12 +0000
Subject: space in query
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-22326@lists.php.net to get a copy of this message
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

« previous php.db (#22326) next »