space in query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux