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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.