Daevid Vincent wrote:
This one does NOT work the way I would expect it to?I did not read your whole message, but you very likely mean
function clearContactVars() { foreach ($GLOBALS as $key => $value) { if ( substr($key,0,8) == "contact_" ) { //echo "GLOBALS['$key'] = $value<br>\n"; $GLOBALS['$key'] = "";
$GLOBALS[$key] = ""; (no single quotes)
} } clearPostVars(); }
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php