Jump to content

How to get the value


angelicaescobar

Recommended Posts

HI!  Sorry im new here, and i have this problem...

 

I have this :   

 

$bookings[$i-1][date("d.m.Y",$timestampOfMonday+($x*86400))]["daterequest"];

 

where bookings is an array...  The value that i got is a date, but i dont know how to manage it. Because i want to compare this value with the actual time. If the difference is bigger than one hour, i give a mesage telling something.

 

The point is that i dont know what to do, because isf i make something like

 

    $dr=$bookings[$i-1][date("d.m.Y",$timestampOfMonday+($x*86400))]["daterequest"];

 

echo $dr    will give me the actual time, not the one that i have stored on daterequest.

 

HELP! HELP!!!  please!!

 

Thank you

Link to comment
https://forums.phpfreaks.com/topic/141444-how-to-get-the-value/
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.