help with error handling, using $_GET

Hi, I’m trying to make an application for currency converter and the user types into the url to make the application work, “amnt=60&from=USD&to=GBP”

i need to update time using unix timestamp, need to check to see how long since the data has been updated. How do i do that? :confused: If someone can please help, that’ll be great.
Thamkyou.

I posted an answer on your other post. I think you double-posted to the site.

The timestamp that I gave you is best because it keeps the entire date and time.
If you need to write a routine to find the length of time between the start and end,
you would have to pull the year/mon/day/hour/time out of the saved values and do
some calculations on it to figure out the differences…

Good luck…

http://php.net/manual/en/function.date.php

Thankyou so much. Sorry, i posted twice by mistake, New to this forum and php :frowning: Thanks for your help… I’ll give that a go.

Sponsor our Newsletter | Privacy Policy | Terms of Service