View Full Version : table form/saving

12-28-2007, 10:25 AM
I am a new coder with the php program and I am creating a monitoring system, I just want to know how can i create.. that when the form that is fill-out and save it will display in a table form all the details that u enter and it will do the same every time you input data.. I dont know how to figure it out please..

thanks =)

12-28-2007, 04:54 PM
You'll find the PHP manual (http://www.php.net/manual/en/) to be very helpful when figuring out the basics. Start with the tutorial (http://www.php.net/manual/en/tutorial.php), specifically the "Dealing with Forms" section.

12-29-2007, 09:13 AM
$_POST[] is an array containing all the input values submited in a form.

here is an example code of what i think you are trying to do:

echo "Your name is: ".$_POST['name'];

//You can also define a variable from $_POST. example:
$email = $_POST['email'];
echo "Your email is: ".$email;

<form name="formname" method="post">
Name: <input name="name" type="text"><br>
Email: <input name="email" type="text"><br>
<input name="btnSubmit" type="submit" value=" GO! ">

Hope this helps!!