prudens Posted May 30, 2008 Share Posted May 30, 2008 Hey, I have a DATE type in mySQL in the form of 00-00-0000; what functions do i use to write/read to it? Thanks! Link to comment https://forums.phpfreaks.com/topic/107909-date/ Share on other sites More sharing options...
The Little Guy Posted May 30, 2008 Share Posted May 30, 2008 write/read to what? the date row? if so, just use a WHERE clause, such as: UPDATE tableName SET columnName = 'Some Value' WHERE dateColumn = '04-12-2008' OR SELECT * FROM tableName WHERE dateColumn = '04-12-2008' Link to comment https://forums.phpfreaks.com/topic/107909-date/#findComment-553144 Share on other sites More sharing options...
Gighalen Posted May 30, 2008 Share Posted May 30, 2008 http://us2.php.net/manual/en/function.date.php Link to comment https://forums.phpfreaks.com/topic/107909-date/#findComment-553151 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.