how do i compare the current date to a date field in my database e.g. $current_date = date('Y=m-d'); $dbdate = pg_result($rsdate,0,"exam_date"); if ($current_date>$dbdate) --THIS PART DOESNT WORK echo "Today is not your exam date"; TIA
how do i compare the current date to a date field in my database e.g. $current_date = date('Y=m-d'); $dbdate = pg_result($rsdate,0,"exam_date"); if ($current_date>$dbdate) --THIS PART DOESNT WORK echo "Today is not your exam date"; TIA