if (defined('DB_SHOUTBOX') && db_exists(DB_SHOUTBOX)) {
$result = dbquery("SELECT * FROM ".DB_SHOUTBOX."");
if (dbrows($result) > 0) {
$num_rows = dbrows($result);
if ($num_rows) {
$shouts = $num_rows;
}
}
} else { $shouts = 0; }
if (!defined("DB_SHOUTBOX")) {
define("DB_SHOUTBOX", DB_PREFIX."shoutbox");
}
Category Forum
Code Snippet and functions - 8Labels
None yet
Statistics
3 participants
Notifications
You are not receiving notifications from this thread.
Related Questions