$login = mysql_query("SELECT * FROM Users WHERE Username ='$User_Name'");
> -----Original Message-----
> From: Shiloh Madsen [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 10, 2002 4:48 PM
> To: php-db
> Subject: [PHP-DB] Select string.
> Yet another thing i need some quick help with. What is the
> proper way to
> generate a select string in php. I know if youre trying to select a
> value from a column you need to enclose it in double quotes if youre
> doing it directly in sql. in this case the value in question is being
> passed as a variable from a previous page. i have the current
> line for
> selection in my page, but i dont think it is correct. any help?
> $login = mysql_query("SELECT * FROM Users WHERE Username =".
> 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