jonw118 Posted May 25, 2011 Share Posted May 25, 2011 Hello. I'd greatly appreciate any help!!! Basically I have a form on my page. When this form is field out it posts the results to the iContact (subscribes to a list). iContact requires that form field for email be called "fields_email". Ok. Now, I have a redirect URL we have to use which needs the email in the URL string. For example, the form field "fields_email" has a value of [email protected]. For that redirect link I need it to be: http://www.test.com/[email protected]. See below: <form method=post action="https://app.icontact.com/icp/signup.php" name="icpsignup" id="XXXX" accept-charset="UTF-8";" > <input type=hidden name=redirect value="http://XXXXX.com/?email="FIELDS_EMAIL" /> <label>Primary Email</label> <input type="text" name="fields_email" id="fields_email"> How can I replace the "FIELDS_EMAIL" in the redirect URL with the value entered by the user? I hope this makes sense. Thanks again for any help! Link to comment https://forums.phpfreaks.com/topic/237451-inserting-a-value-into-a-url-string/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.