Hello,
I have a problem I thought would be easy to solve, but apparently not 🙂 I have a script that allows people to add their url to a page. I want to keep a maximum of 100 url at any time. So I did this using php/myql
connect to database...
count rows
assign number of rows to $counter
if ($counter > 100) {
connect to database
DELETE FROM table_name WHERE ID=min();
etc...
Unfortunately, that does not work.
Does anyone have any advice on getting this done? Thnx.
Richie.