Here's a quick way to make form fields accessible just by appending a $ sign as in old php3.
Notice the two $ signs.
foreach ($_POST as $key=>$val)
{
$$key=$val;
}
Sunday, October 29, 2006
Subscribe to:
Post Comments (Atom)
This blog has content related to Linux, Apache, MySQL, PHP, Perl, CSS, JavaScript and Free software/open source.
No comments:
Post a Comment