Kao što piše u PHP uputstvu napisao sam fajlove:
One of the most powerful features of PHP is the way it handles HTML forms. The basic concept that is important to understand is that any form element will automatically be available to your PHP scripts. Please read the manual section on Variables from outside of PHP for more information and examples on using forms with PHP. Here is an example HTML form:
????? 2-6. A simple HTML form
<form action="action.php" method="post">
<p>Your name: <input type="text" name="name" /></p>
<p>Your age: <input type="text" name="age" /></p>
<p><input type="submit" /></p>
</form>
There is nothing special about this form. It is a straight HTML form with no special tags of any kind. When the user fills in this form and hits the submit button, the action.php page is called. In this file you would write something like this:
????? 2-7. Printing data from our form
Hi <?php echo $_POST['name']; ?>.
You are <?php echo $_POST['age']; ?> years old.
A sample output of this script may be:
Hi Joe. You are 22 years old.
Medjutim NECE DA RADI!
Prilikom poziva Submit ispisuje mi isto fajl prvi (formular) a ne ispisuje mi ovaj drugi fajl action.php iako u uputstvu pise da treba...!Sta je problem?
Izdavač duhovne i filozofske literature