Hi guys simple question this form:-
and...action.phpPHP Code:<html>
<body>
<form action="action.php" method="post">
Name: <input type="text" name="fname" />
Age: <input type="text" name="age" />
<input type="submit" />
</form>
</body>
</html>
NOW... if i had 4 forms on my site would i need 4 "action.php" files one for each or can i put "functions" in the one and get the differant forms to call differant functions in action.php???PHP Code:<html>
<body>
Welcome <?php echo $_POST["fname"]; ?>!<br />
You are <?php echo $_POST["age"]; ?> years old.
</body>
</html>
P.S please keep it simple as i'm still learning![]()



Reply With Quote



Bookmarks