Welcome Guest, Not a member yet? Register   Sign In
POSTING hidden values
#1

In my form I am setting these hidden values

<input type="hidden"  name="email"        value=<?php $emailString?>/>
<input type="hidden" name="campaign"  value=<?php $campaignString?>/>
<input type="hidden" name="taxyear"    value=<?php $dateString?> />



and then I submit it to  a function in the controller. This is the code that runs in the controller

$campaign=$_POST["campaign"];
$email=$_POST["email"];
$taxyear=$_POST["taxyear"];


But when I take a look at $campaign, $email, and $taxyear , once the form is submitted, they are all "/".  Why? 
proof that an old dog can learn new tricks
Reply


Messages In This Thread
POSTING hidden values - by richb201 - 12-09-2020, 05:28 PM
RE: POSTING hidden values - by InsiteFX - 12-09-2020, 09:43 PM
RE: POSTING hidden values - by sammyskills - 12-10-2020, 01:13 AM
RE: POSTING hidden values - by vitnibel - 12-10-2020, 01:22 AM
RE: POSTING hidden values - by richb201 - 12-10-2020, 06:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB