September 19th, 2012, 05:23 AM
AJAX Shoutbox Help
If it is the last message then the PHP file would output nothing.
Otherwise if there were 23 shouts stored on the server for example, it would output the following XML:
I would also need to remove the oldest two messages in the shoutbox because I want a certain number of shouts in the shoutbox at once.
Is this a good way to do it or is there a better/more efficient way of doing it?
Thanks so much for you help.