I now have :
$registerDate = date("Y-m-d h:i:s", $timestamp);
when i insert it into the db it stores as "1969-12-31 04:00:00"
why is it not storing the CURRENT date?
should i be using time() instead ?
What is $timestamp?
something onion2k told me to put in a couple posts back
not sure to to be honest?
maybe i was suppose to define $timestamp as time(); ?
heh. Yes, $timestamp was meant to be set to a time rather than just left. Its defaulting to 0, which is the timestamp of the date you mentioned.
Use date("Y-m-d h:i:s"); to get the current date.