Im building a chat with php/mySQL but I dont want my database to be filled
up with messages upon messages, what I want to do is make it start deleting
rows after lets say 100 rows (which hold the messages)(each individual row
holds one chat message), is there a way of doing this through deleting the
smallest numberID rows in that table? as each one I want to delete will be
the smallest ID number (as it grows with each message added to it).
If tried to figure this out but so far no luck.
If anyone can help me with this Id greatly appreciate it.
Thanks in advance
Deadsam



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to