iam kinda new to PHP, lucky to have this site.
i have a problem, iam getting the date from the user in a text item and writing to a text file in the format dd-mm-yy(18-11-02)
then when i open a page iam reading the date from the text file and stroing into a vaiable $mydate and then iam comparing with Systemdate inthe same format that is $sysdate =date("d-m-y")
now the problem starts
i want to see if $mydate > $sysdate the $mydate is in in string string format how do i compare this can some one help with the code.
advance thanks
BOB