> SELECT 'A.Title'
> FROM `phpCalendar_Daily` AS 'B'
> JOIN 'phpCalendar_Details' AS 'A' ON 'A.CalendarDetailsID' =
> 'B.CalendarDetailsID'
> WHERE CURDATE( ) 
> BETWEEN 'B.StartDate' AND 'B.StopDate'

Take out all of those quotes! You're making strings out of everything.

WHERE CURDATE() BETWEEN 'string' AND 'anotherstring' etc...

---John Holmes...

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to