Menu
i have a mailer script which i want to modify the way i retrieve variables from the post. i would like it to create a variable for each input and assign the variable the value of that post i tried a little test but it failed
[code=php]
<?php
if ($_SERVER[‘REQUEST_METHOD’] == “POST”) {
foreach ($_POST as $key => $value) {
return “‘$’$key ‘=’ $value”;
}
echo $quantity
?>
the echo was just to test and see if i could create the variable the way i wanted to
the return line looks like something from a Frankenstein flick lol. if anyone has any suggestions i would appreciate them
thanks
-nick