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
[Back to original message]
|