Re: OK SQL experts...

From: Date: Fri, 23 Apr 2004 16:02:00 +0000
Subject: Re: OK SQL experts...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-184422@lists.php.net to get a copy of this message
if that works move up into: SELECT * FROM my_table WHERE (field_1 LIKE '%$keyword%') AND status = 'active';
Yes, I actually did exactly that. Everything works until I have more than one statement inside the (x LIKE x OR x LIKE x) parens. That's why I figured there has to be something wrong with my paren structure. When I RTFM I saw someplace to use {}+ instead of () but it gave a different error.

« previous php.general (#184422) next »