Problem using 'Like' in SQL statements
| From: | Aubrey Franklin | Date: | Tue, 19 Sep 2000 23:35:46 +0000 |
| Subject: | Problem using 'Like' in SQL statements | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-2745@lists.php.net to get a copy of this message | ||
I'm running PHP on Windows 98. My Database connections so far, except
when I'm using the 'Like' SQL command (eg "select SUBJECT from COURSES
where SUBJECT Like "*Math*"). I have copied the SQL commands into my
Access database and they work fine and I have tested my query without
the 'Like' statement and it works fine in PHP. PHP just does not work
when I include the 'Like' statement.
Can anyone out there tell what a solution would be like. Your
assistance would be greatly appreciated.
Aubrey.