| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Senior Member Join Date: Aug 2005 Location: East Yorkshire, England
Posts: 2,689
![]() ![]() ![]() ![]() ![]() ![]() ![]() | |
| |
| | THREAD STARTER #3 (permalink) |
| Senior Member Join Date: Aug 2005 Location: East Yorkshire, England
Posts: 2,689
![]() ![]() ![]() ![]() ![]() ![]() ![]() | It dosnt print integers? *feels stupid now* lol --edit-- Now I have a different problem: PHP Code: It should delete all entries where visited is more than 15 mins ago, but it deletes everything.
Last edited by Mikor; 08-20-2006 at 04:07 PM.
|
| |
| | #5 (permalink) |
| NamePros Member Join Date: May 2006
Posts: 160
![]() | PHP timestamps and MySQL datetimes are not the same thing... it all depends on your column types. There is a MySQL function called something like UNIXTIMESTAMP that will return a MySQL date as a timestamp and I know there's one for converting from UNIX to MySQL, but I don't know it off the top of my head. However, do some digging for UNIXTIMESTAMP and you're bound to find the 'reverse' function name. |
| |