MySQL Forums
Forum List  »  PHP

Re: next/previous on a date select query
Posted by: Rick James
Date: July 06, 2010 07:42PM

Use the mysql commandline tool to debug things like this. Build the SELECT with $left_off filled in, then see what you get.

You won't get "a.djs", it will be just "djs". Or you could do
SELECT ..., a.djs AS left_off, ...
Then it would be "left_off".

Options: ReplyQuote


Subject
Written By
Posted
Re: next/previous on a date select query
July 06, 2010 07:42PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.