Alexej Kubarev
New member
The best way to do this will be having a form with method="POST" and getting those variables by using $_POST['var_name_here']
if you use method="get" -- you will have to take variables from the url as they will be posted there.. therefore you will need to use $_GET['var_name_here'] instead
note that you have to specify action="second_page_name.php" in your from tag.
the sample html will look like this:
the sample php code of the second_page.php will most probably be:
Hope this helps..
if you use method="get" -- you will have to take variables from the url as they will be posted there.. therefore you will need to use $_GET['var_name_here'] instead
note that you have to specify action="second_page_name.php" in your from tag.
the sample html will look like this:
Code:
<form action="second_page.php" method="post">
<input name = "field_1" type="text">
</form>
the sample php code of the second_page.php will most probably be:
Code:
<?php
echo ("The field_1 value is: ".$_POST['field_1']);
?>
Hope this helps..