You are here: Re: problem using date in query « MySQL Databases « IT news, forums, messages
Re: problem using date in query

Posted by Jeff Grossman on 09/28/15 11:29

"roy" <roy.vervoort@royvervoort.nl> wrote:

>I am using the following query :
>
>$query_archief = "SELECT * FROM vacatures where dd_eind_plaatsing <
>$dd_eind_plaatsing_archief1"
>
>note: $dd_eind_plaatsing_archief1 = 2005-10-21
>
>it seems the variable $dd_eind_plaatsing_archief1 is not exepted as a
>proper date, what is the correct way to set up a query using a date
>variable.

Maybe you could try putting the variable $dd_eind_plaatsing_archief1
in single quotes.

Jeff

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация