Jump to content

[SOLVED] Query Syntax


947740

Recommended Posts

Okay, the query does what it is supposed to, I think, but there is still a syntax error.  The error, followed by the query:

 

 

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BETWEEN '1246597200' and '1248841199' AND LName LIKE '%wood%' OR FName LIKE '%wo' at line 1

 

SELECT * FROM moneyin WHERE `Date` BETWEEN '1246597200' and '1248841199' AND LName LIKE '%wood%' OR FName LIKE '%wood%'

 

Link to comment
https://forums.phpfreaks.com/topic/167839-solved-query-syntax/#findComment-885233
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.