php-db | 2001041
Date: 04/05/01
- Next message: Boclair: "Re: [PHP-DB] Forms : Validating user input is integer"
- Previous message: Daevid Vincent: "RE: [PHP-DB] ODBC again"
- In reply to: Julio Cuz, Jr.: "Re: [PHP-DB] SELECT statement"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
* 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>
- Next message: Boclair: "Re: [PHP-DB] Forms : Validating user input is integer"
- Previous message: Daevid Vincent: "RE: [PHP-DB] ODBC again"
- In reply to: Julio Cuz, Jr.: "Re: [PHP-DB] SELECT statement"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

