Jump to content

autodate inserting


Rother2005

Recommended Posts

so then for example

[code]
if(!$_POST['register']){FORM}

else{

$sql = "INSERT INTO member(date)
VALUES ('now()')";
mysql_query($sql)             

or die(mysql_error());
echo ("<meta http-equiv=\"Refresh\" content=\"2; URL=members.php\"/>Thank You! You will be redirected");}

[/code]

is that on the right track?
Link to comment
https://forums.phpfreaks.com/topic/34289-autodate-inserting/#findComment-161322
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.