Limiting Number Of Records Stored, PHP |
Limiting Number Of Records Stored, PHP |
katl |
May 9 2007, 12:02 PM
Post
#1
|
Group: Members Posts: 2 Joined: 2-May 07 Member No.: 2,703 |
Is there a way I can limit the number of records that are stored in a database? I am using a PHP guestbook script for personal use and only want to save say the last 100 messages. Thanks!
This post has been edited by katl: May 9 2007, 12:26 PM |
Brian Chandler |
May 9 2007, 01:32 PM
Post
#2
|
Jocular coder Group: Members Posts: 2,460 Joined: 31-August 06 Member No.: 43 |
Or if the guestbook is already up and running, you should be able to write a simple script that chops out all but the last 100. (Test it somewhere else, though!)
|
Lo-Fi Version | Time is now: 11th May 2024 - 08:43 AM |