How many ways I can redirect a PHP page?
Answer Posted / deep narain singh
You Can Redirect PHP Page by folloeing method:
1- <script>location.replace("index.php");</script>
2-<script>window.href="index.php";</script>
3-header("Location:index.php");
Is This Answer Correct ? | 20 Yes | 2 No |
Post New Answer View All Answers
Do you know what is the differences between $a != $B and $a !== $B?
What is the method to execute a php script from the command line?
Define urlencode() and urldecode() used in php?
Explain about looping in PHP?
Why do we use session?
Do you know what is the function func_num_args() used for?
What is polymorphism in php?
What are magic methods?
What does csrf token mismatch mean?
Do loops php?
How to implement a class named dragonball. This class must have an attribute named ballcount (which starts from 0) and a method ifoundaball. When ifoundaball is called, ballcount is increased by one. If the value of ballcount is equal to seven, then the message you can ask your wish is printed, and ballcount is reset to 0. How would you implement this class?
What is the difference between single quoted string and double quoted string?
What is mysql_fetch_array?
What are global variables in php?
Explain the types of string comparision function in PHP