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... Link to comment https://forums.phpfreaks.com/topic/189391-sprintf-date-problem/ Share on other sites More sharing options...
btherl Posted January 22, 2010 Share Posted January 22, 2010 Have you tried it? Does it work? Link to comment https://forums.phpfreaks.com/topic/189391-sprintf-date-problem/#findComment-999757 Share on other sites More sharing options...
whiteboikyle Posted February 10, 2010 Share Posted February 10, 2010 Accident wrong post Link to comment https://forums.phpfreaks.com/topic/189391-sprintf-date-problem/#findComment-1009833 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.