SELECT statement problem
| From: | Evan S. Weiner | Date: | Thu, 15 Aug 2002 18:15:16 +0000 |
| Subject: | SELECT statement problem | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-21155@lists.php.net to get a copy of this message | ||
Hello all,
I have this SQL statement I am trying to use and no matter what combination I use, I cannot get it
to work. The start and end if clauses need to be grouped together.
SELECT * FROM tickets_work WHERE employee_id = '$tech_id' && ( start >
'$start' && end < '$end' ) ORDER BY start
Anyone able to help me?
Thanks!
Evan