specialguy Posted December 17, 2006 Share Posted December 17, 2006 Let's say i have a forms where the guy put his name and whatever you want. Then when he hit 'submit' its going for exemple to welcome.php , my question is : How can i write $_POST['name'] in an echo? Thanks for your help. Link to comment Share on other sites More sharing options...
liuyang Posted December 17, 2006 Share Posted December 17, 2006 <!--form.html code begin--><form method="POST" name="form1" action="welcome.php"><input type="text" name="name"><input type="submit"></form><!--end-->***************<?php// welcome.phpecho 'welcome'.$_POST['name']; Link to comment Share on other sites More sharing options...
specialguy Posted December 17, 2006 Author Share Posted December 17, 2006 Thanks . Link to comment Share on other sites More sharing options...
liuyang Posted December 18, 2006 Share Posted December 18, 2006 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now