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:

Using slice remove last two characters from given string
07-03-2017 slice remove
Get previous date from given date in javascript
06-03-2017 date javascript previous date
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
Call a function every second or 5 seconds in javascript
22-02-2017 setinterval function calling