[PHP] Problem with mysql versions. help

2003-04-05 Thread NeXaS
Hello, I wrote the code for deleting the oldest string in the mysql if it reaches over 15 strings, but it works only under 4.x.x series of MySQL and i have 3.x.x. What should I change in the code that it would work under 3.x.x version of MySQL? Here`s the code: $quer = SELECT COUNT(id) FROM

[PHP] Another problem with mysql version coding

2003-04-05 Thread NeXaS
help! NeXaS -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] newbie needs help with comparing dates

2003-04-04 Thread NeXaS
I need to compare dates which opens commenting system. For example: If show starts 2003.05.01 20:00 then I need that only from that date and time the commenting system apears on my site ant would be there all the time from the start of the show. But in my code the commenting system opens only

[PHP] showing idle time with time() function

2003-04-04 Thread NeXaS
How to show IDLE TIME which format would be 00:00 (minutes:seconds) ? My PHP script sets time ( with function time() )to one of the mysql cell of the current user, when new page is requested. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php