How many ways I can redirect a PHP page?
Answer Posted / sudheer
3 ways to submit our form
1.form attribete(action)
ex:<form name="frm" method="POST/GET" action="sample.php">
2.through header functions
ex:header("sample.php");
3.through javascript
ex:echo "<!--<script
type='text/javascript'>window.location='sample.php'</script>-->";
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What is session data?
how to use http headers inside php? Write the statement through which it can be added?
Where is session value stored php?
What is the latest version of php?
What is get and post method in php?
What is memcache?
Why are sessions used?
What are php magic methods/functions?
What is move_uploaded_file in php?
How to connect to mysql from a php script?
How can we upload a file in php?
What is mysqli php?
What are the differences between session and cookie?
What's the difference between accessing a class method via -> and via ::?
How to pass variables and data from php to javascript?