robert_gsfame Posted January 22, 2010 Share Posted January 22, 2010 I have this query $date=date("Y/m/d"); sprintf("INSERT INTO table(date)VALUES('%s')", mysql_real_escape_string($date)); and in the table i set date column as date Is the query okay?? thx for any helps... Quote Link to comment Share on other sites More sharing options...
btherl Posted January 22, 2010 Share Posted January 22, 2010 Have you tried it? Does it work? Quote Link to comment Share on other sites More sharing options...
whiteboikyle Posted February 10, 2010 Share Posted February 10, 2010 Accident wrong post Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.