Web Development



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.

Thread display: Collapse - | Expand +

All Answers

Share your knowledge

Related Discussions

Related Forums