IF you're talking about just transfering data entered in a form over to create a dynamic page you will need a form like this:
HTML Code:
<form name="test" method="post" action="examplepage.php">
<input type="text" name="username" size="25" maxlength="25">
<input type="submit" name="submit" value="Submit">
</form>
obviously you would want to have text and a layout for this but basically upon hitting Submit, you will be sent to examplepage.php where you can extract the data from your input field with something like this:
PHP Code:
<html> <body>
Hello
<?php> print $_POST['username']; ?> //print out the variable username that was posted from the previous site
</body> <html>
PHP is fairly simple with small things like this...even saved as a .php file will be recognized as html except what commands fall between <?php and ?>. Hope this helps.
__________________
The worst things in life allow us to appreciate the best things
virtual kudos (a.k.a. talkupation) always welcome where deserved.
|