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

Is php a middleware?

521


What is session cookies php?

557


Do you know what's the difference between __sleep and __wakeup?

534


Is php closing tag necessary?

559


Are static variables final?

530






How to set session.gc_divisor properly?

603


How to access standard error stream in PHP?

591


How can we submit from without a submit button?

582


What are the difference between array_keys() and array_key_exists() in php?

548


How to download and install php on windows?

610


How to get the length of string?

581


What are Routines?

1784


What are psrs? Choose 1 and briefly describe it?

952


What is the difference between print() and echo()?

581


What is laravel php?

547