Shoutbox

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Slane
Forum Newbie
Posts: 3
Joined: Fri Jul 30, 2004 11:34 am

Shoutbox

Post by Slane »

http://slane.somewhat-useless.com/shoutbox/index.php

I am working on a shoutbox, and I haven't been able to figure out how to make it to where it only shows XX number of shouts?

Can any help me?
User avatar
tim
DevNet Resident
Posts: 1165
Joined: Thu Feb 12, 2004 7:19 pm
Location: ohio

Post by tim »

hello, I got a 404 error while trying to visit your link, but

you can use the LIMIT feature provided by MySQL if in fact you use MySQL.

ie:

"SELECT * FROM table_name ORDER BY DESC LIMIT 20";

etc
Post Reply