How to redirect one page to another page in php


There are some methods to redirect in php.

$url = '';

and next method for redirection

echo "<script>window.location=window.location</script>";


You might also like:

How to search text in string using php ?

29-10-2017 php search string search

Example for Conditional Operator in php

16-04-2017 php Conditional Operator example

Navigate to another page using java script

06-03-2017 javascript redirection navigation

Sample Validations in javascript

22-02-2017 validations javascript

Get Unique values from array/object in javascript

19-02-2017 javascript unique remove repeated values from array