Hi... Am new to php. Can anybody please let me know how to call PHP page on click of a a submit button..
For Ex: <html> <body> <form acion="welcome.php" method="post"> name:<input type="text" name="name"/> Age:<input type="text" name="age"/> <input type="submit" /></form></body></html>
That would be the way to do it, but don't copy that code or someone will have a field day tearing your site and code apart.
for form submit, action="phpfile.php" shoould do. For redirect after for submission, use header('Location: yourlink')
it just <form action="yourpage.php" Method="post"> link to your another page or <form action="<?php $_SERVER['PHP_SELF']; ?>" method ="post"> to itself