Jump to content

date help.


jamesxg1

Recommended Posts

ok here the dilema,

 

$date = date('Y-m-d');

$morerow = mysql_fetch_array($result);

if ($morerow['when'] == $date) {

 

$morerow['when'] is a date like so YYYY-MM-DD

 

and i need to make a IF statment that will only allow you to pass if $date is equal to or above the $morerow['when'] how would i do this ?

 

 

Link to comment
https://forums.phpfreaks.com/topic/154784-date-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.