PHP Code

// Determine the maximum query size MySQL is configured to handle.
$q = mysql_query("SHOW VARIABLES LIKE 'max_allowed_packet'");
// Error Trap
if (! $q) return SOME_ERROR_CODE;

// Fetch the row.
$row = mysql_fetch_assoc($q);
// Error Trap
if ($row === false) return SOME_ERROR_CODE;

// Save the value.
$MySQL_MaxPacket = $row['Value'];
 


The Captian
Today they call you "crazy". Tomorrow they call you "ahead of your time."
Global Skywatch Learn about Chemtrails - You're breathing them now!
OnlyTheBestHerbs.com World-class supplements
Mercury Talk Why you are sick.
OneUp Domains Domains, Hosting, Email
1-800-358-4278 (U.S. & Canada)