Re: ?!? wats wrong?
| From: | Bogdan Stancescu | Date: | Thu, 09 May 2002 16:32:11 +0000 |
| Subject: | Re: ?!? wats wrong? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-19085@lists.php.net to get a copy of this message | ||
Is this a joke?
Maureen wrote:
If the Id field type is integer, take the single quotes off from around the 1 1 in the select statement, otherwise it reads '1' as a string, ie. SELECT * FROM personen WERE Id <> 1 ORDER BYBijnaam. ^HTH MB Bogdan Stancescu <mgv@fx.ro> said:The != operator is valid under MySQL. You should probably try "WHERE" instead of "WERE". Bogdan Jeffrey_N_Dyke@Keane.com wrote:Hello... use the <> option instead SELECT * FROM personen WERE Id <> '1' ORDER BY Bijnaam Jeff-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php