> Thanks for this,
> I understand how to update in date in database, but I need when I get
date
> from database to increase or decrease before to save in database.
> 
> Can you help me for this ?

Yeah, I already did:

> > You can select out the date you have now, use strtotime() to make it
> > into a unix timestamp (which PHP works with), and date() to format
it
> > however you want. If the user approves the new date, you can
reformat
> > the unix timestamp back to a YYYY-MM-DD format with date() or use
> > FROM_UNIXTIME() in your query to insert/update the new date into the
> > database...

---John Holmes...



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to