storing variables from a form within same page
Posted 07 October 2006 - 01:37 AM
Posted 07 October 2006 - 01:38 AM
Posted 07 October 2006 - 02:27 AM
Say this is your form on your 'text.html' file page. My example is a userName.
<input type="text" name="userName" />
On the page that your trying to put it into a variable you would have it as
$userName = $_POST['userName'];
It doesn't have to necessarily be userName you can make it whatever you want username, text, whatever you would like.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users