Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001041

Re: [PHP-DB] SELECT statement From: Jeffrey A Schoolcraft (dream <email protected>)
Date: 04/05/01

* Julio Cuz, Jr. (jcuz <email protected>) wrote:
> Ron,
>
> Thanks for your help, but my problem still there even when I made the
> following changes:
>
> $sql = "SELECT * FROM \"Remodel\" WHERE Email=\"".$find."\"";

You don't have to quote the table name either. You can probably get
away with something like this:

        $sql = "SELECT * FROM Remodel WHERE Email=\"$find\" \n";

I put the \n at the end of my queries, at the end of every line if it's
a long query, just makes it easier for me to read if I need to do
debugging later, it won't affect your query.

Jeff

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>