What are different ways to redirect from on page to other?
Answer Posted / vishal desai
1). using form action property
2). using javascript ( window.location )
3). using header("Location: .......");
4). using
echo "<meta http-equiv='refresh' content='0; url=....'>";
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
What does isset() function?
What is the difference between characters 34 and x34?
Is there an easy way to delete an element from a php array?
What is a php array?
What is the role of php.ini file?
Explain the difference between require() and require_once()?
When sessions ends?
How does csrf token work?
What are magic methods?
How to add 301 redirects in PHP?
What the difference between the 'bitwise and' operator and the 'logical and' operator?
What is session in php w3schools?
Explain preg_Match and preg_replace?
How to call php function from javascript using ajax?
How to call javascript function in php on button click?