How to redirect one page to another page in php

20-03-2017 redirect php

There are some methods to redirect in php.

$url = 'www.google.com';
redirect($url);

and next method for redirection

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

 

You might also like:

How to get current date and time (yyyy-mm-dd H:i:s) using javascript
09-03-2017 javascript date time
Change datepicker display format
06-03-2017 datepicker angular js
Filter for change Date Time format (MM-dd-yyyy HH:mm) in Angular Js
05-03-2017 mm-dd-yyyy HH:MM date formats angular js
How to remove last / value from url in javascript
27-02-2017 array javascript last value
Email validation regular expression in javascript
22-02-2017 email validation regex