Re: [PHP] mkdate error?

2002-08-11 Thread chyunj
Oh my God. I had redone and ripped this apart for hours. Errors like this make me realize how stupid I truly am. Thank you for your help. :) I can go on with life now. J. Chyun At 12:30 AM 8/12/2002 +0200, Bas Jobsen wrote: >YOU use $parsed_date[2] in stead of $parsed_end_date[2] -- PHP

Re: [PHP] mkdate error?

2002-08-11 Thread Bas Jobsen
YOU use $parsed_date[2] in stead of $parsed_end_date[2] Op maandag 12 augustus 2002 00:01, schreef jc: > The following bit of code completely baffles me as to why it doesn't work. > I am doing a very simple validation where I check to see if the "end date" > field of an inputted record is an olde

RE: [PHP] mkdate error?

2002-08-11 Thread chyunj
At 05:08 PM 8/11/2002 -0600, RPS Internet wrote: >Your working with strings right? Would your if command be: >if ($start_dts gt $end_dts) { >echo "This function thinks the end date is older than the start date."; > } > else { >echo "Whoah, it actually worked."; > } > >In string you shou

RE: [PHP] mkdate error?

2002-08-11 Thread RPS Internet
Your working with strings right? Would your if command be: if ($start_dts gt $end_dts) { echo "This function thinks the end date is older than the start date."; } else { echo "Whoah, it actually worked."; } In string you should use the gt comparitive instead of the >. See if this works