Ummm... just guessing here because I'm a noob to PHP and to a lesser extent,
sort of a noob to MySQL.
I would suspect that your dates aren't being recognized as dates at all, but
rather, as expressions containing some integers and the slashes are being
interpreted as operators - so the larger the right-hand divisor, the smaller
the result will be.
Thus your statement WHERE (06/06/1978 < 06/06/1979) will be false.
With MySQL I think the proper syntax would be 'YYYY-MM-DD' to pass a
literal date as a parameter. With PHP dates seem to be oriented around the
UNIX timestamp and most of the code I've done/seen so far approaches dates
as either the Unix timestamp or as a formatted string generated by coercing
the timestamp or the time() function into printable text.
Again this is just the comments of a noob so your results may vary.
V
"Skybuck Flying" wrote in message
> WHERE (06/06/1978 < 06/06/1979) returns false ?
>
> Clearly 1978 is smaller than 1979 ?
>
> These are dates...
>
> Why is the comparision failing ?
>
> Bye,
> Skybuck.
> >> Stay informed about: WHERE (06/06/1978 06/06/1979) returns false ?