PDA

View Full Version : MySQL Error In Query



tomyknoker
04-17-2007, 02:04 AM
Can anyone see why this doesn't work? Is it becuase I am joing the . with brackets?


WHERE tblmember.MONTH(DateOfBirth) = '{$theMonth}') AND `member`='J'

thetestingsite
04-17-2007, 02:12 AM
You have an extra brace in the statement:



WHERE tblmember.MONTH(DateOfBirth) = '{$theMonth}') AND `member`='J'


other than that, I don't see anything else.
Hope this helps.