acidglitter Posted November 23, 2006 Share Posted November 23, 2006 on one of my pages i have this..[code]mysql_query("INSERT INTO bulletin VALUES('','$referal','',NOW(),'1')");[/code]everything else works but it doesn't insert the date.. what am i doing wrong?? Link to comment https://forums.phpfreaks.com/topic/28206-i-need-help-with-the-now-function/ Share on other sites More sharing options...
alpine Posted November 23, 2006 Share Posted November 23, 2006 Is your "now" column set as "timestamp" type in the table ? Link to comment https://forums.phpfreaks.com/topic/28206-i-need-help-with-the-now-function/#findComment-129026 Share on other sites More sharing options...
acidglitter Posted November 23, 2006 Author Share Posted November 23, 2006 no its date Link to comment https://forums.phpfreaks.com/topic/28206-i-need-help-with-the-now-function/#findComment-129027 Share on other sites More sharing options...
acidglitter Posted November 24, 2006 Author Share Posted November 24, 2006 never mind i got it working :) Link to comment https://forums.phpfreaks.com/topic/28206-i-need-help-with-the-now-function/#findComment-129490 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.