This is a discussion on SQL Help within the Php and MySQL forums, part of the Programming / Scripting / Coding category; Hello, I am getting a SQLl error You have an error in your SQL syntax. Check the manual that corresponds ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| | #1 (permalink) | |
| Cool Newbie | Hello, I am getting a SQLl error Quote:
PHP Code: Thanks Xerox | |
| | |
| | #2 (permalink) |
| Newbie | You have two fields that are dates - regdate and lastlogin. One of them will be a different format to what you have set in the database. print (echo) the values of regdate and lastlogin to the screen and compare their format with what the database is expecting. As a guess one includes hours mins secs, or is yymmdd instead of ddyymm or whatever. |
| | |