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 many functions are there in php?

521


What is isset function in php?

570


How to get best php developer Experience in Php with Sugar CRM / VTiger.

3974


Which function Returns the time of sunrise for a given day / location in PHP.

590


Tell me is it possible to remove the html tags from data?

532






What does isset() function?

545


What u mean by query?

486


Can we use include ("xyz.php") two times in a php page "index.php"?

579


How to redirect a url from http to https in .htaccess?

523


Declare a new variable in php equal to the number 3;

508


What is urlencode and urldecode in php?

578


Explain the different types of errors in php.

531


Explain about the data types in PHP?

556


Is php used in 2019?

537


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

507