Jump to content

help with form


kamriyas
 Share

Recommended Posts

<form action="" method="post"><input type="text" name="name" /><br /><input type="submit" value="Submit" name="submit" /></form><?if(isset($_REQUEST['submit'])) {$name = $_POST['name'];echo '<br />';echo 'http://sitename.com/?referral=$name';}?>

Edited by chasethemetal
Link to comment
Share on other sites

thank you so much! it works perfect

<form action="" method="post"><input type="text" name="name" /><br /><input type="submit" value="Submit" name="submit" /></form><?if(isset($_REQUEST['submit'])) {$name = $_POST['name'];echo '<br />';echo 'http://sitename.com/?referral=$name';}?>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...