Hi-
I am new to PHP and wonder if anyone can show me a simple script to post form data from one page to another.
Thanks,
Phoenix1
Hi-
I am new to PHP and wonder if anyone can show me a simple script to post form data from one page to another.
Thanks,
Phoenix1
1.) Do you know HTML?
IF YES: It's a basic form with the php file as the action
IF NO: Learn HTML
<form action="post.php" method="post">
Name: <input type="text" name="name"><br>
Age: <input type="text" name="age"><br>
<input type="submit" name="submit" value="submit">
</form>
post.php
<?php
echo 'Hello. Your name is '.$_POST['name'].' and you claim to be '.$_POST['age'].' year(s) old.';
?>
Thanks so much. everyone on this forum has been great.
Is there a way to change the style (font, color, size) on the recieving end?
use CSS... or the deprecated <font> tags...