If you are using a form post, then everything that you need is done. Every "input" value will be passed to the script when you click the submit button. If you want to send data that isn't entered by the user, then look at the input type "hidden". below, I've included two files that should give you the idea.
** Tom **
multiform.php:
<html><?php$dv = "<first name>";if (isset($_GET['User'])) $dv=$_GET['User'];?><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" type="text/css" href="phpclass.css" /></head>
<body>
<form method="post" action="multi.php" enctype="multipart/form-data"> <label id="Label1">What is your name? </label> <input name="UserName" type="text" value="<?php echo $dv;?>" /> <input name="LastName" type="text" value="last name" /> <br /><br /> <input name="Submit1" type="submit" value="submit" /> <input name="Reset1" type="reset" value="reset" /> <?php echo "This is PHP!"; ?></form>
</body></html>
multi.php
<?phpecho "Hello, ".$_POST['FirstName']." ".$_POST['LastName']."!";?>
Of course, I might have missed the entire point in that last post. In your case, it might be well worthwhile to simply put your functions into one or more pure php files and to do an
<?phpinclude("filename.php");?>
Opps! change that "UserName" to "FirstName" in multiform.php