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


Please Help Members By Posting Answers For Below Questions

How do I escape data before storing it into the database?

515


How to split a string into array using php?

534


How to move uploaded files to permanent directory?

526


What are escaping characters?

530


How can we know the total number of elements of Array?

591






How can php and javascript interact?

733


What is use of htmlspecialchars php?

504


Tell me how to get the value of current session id?

497


Explain Whitespace Characters?

570


What is curl php?

521


What is fetch array in php?

565


How big is varchar max?

578


What is the best website to learn php?

512


Explain how can we increase the execution time of a php script?

499


Write a program using while loop?

546