Thread Starter
VFBA
(@vfba)
my logic is that i should be able to do this below for each var in my form (http://69.195.124.135/~fivestk2/send-vars-3/):
<form method=”post” action=”sendvar.php”>
1. <input type=”text” name=”var1″/>
2. <input type=”text” name=”var2″/>
3. <input type=”text” name=”var3″/>
4. <input type=”text” name=”var4″/>
<input type=”submit” name=”submit”/>
</form>
accesing the posted page (resultvars.php) i thought would fill in the vars into the results page but all i get when i try is a page displaying code.
<?php $name0 = $_POST[‘name0’];
$var1 = $_POST[‘var1’];
$var2 = $_POST[‘var2’];
$var3 = $_POST[‘var3’];
$var4 = $_POST[‘var4’];
echo $name0.’
‘;
echo $name1.’
‘;
echo $name2.’
‘;
echo $name3.’
‘;
echo $name3.’
‘;
?>
I just a little advise on how to code my original form above so that it will work inside these wordpress pages, i think this example i found is what i need, but im new to working with this stuff. Thanks for reading