Question

Locked

PHP conditions

By sush.rd ·
i get orders from database which contain order_date.
if i take a order_date of a particular order as $order_date.
    $order_date= $row['order_date']  ;   


how do i write the condition which checks if $order_date is less than 2 days

   if (condition check $order_date is less than 2 days ) {
do this;
}
else { do that; }

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Back to Web Development Forum
2 total posts (Page 1 of 1)  

Software Forums