| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #3 (permalink) |
| Barru. | 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 03:07 PM. |
| |
| | #5 (permalink) |
| NamePros Member | 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. |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |