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 repair phpmyadmin?

518


What is the use of array_search() in php?

532


What is the difference between single-quoted and double-quoted strings in php?

538


What is the use of dual table in mysql?

518


What are the different tables(engine) present in mysql, which one is default?

510






Which is better python or php?

562


What is session php?

509


What is the role of php.ini file?

547


Is php still used?

528


Explain how can php and javascript interact?

542


Why session timeout is important?

621


What are super global variables in php?

523


What is the main function of php?

525


How arrays are used in php?

549


What are the ways to include file in php?

526