$result = dbquery("SELECT * FROM ".DB_SHOUTBOX." LEFT JOIN ".DB_USERS." users ON shout_name=user_id ORDER BY shout_datestamp DESC LIMIT ".($min + $max) );