How to redirect one page to another page in php

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

Filter for insert HTML in Angular Js

06-03-2017 filter show html angular js html

Filter for change Date format (MM-dd-yyyy) in Angular Js

05-03-2017 mm-dd-yyyy date formats angular js

How to get drop down value when drop down change using javascript

27-02-2017 onchange events dropdown javascript functions

Get Unique values from array/object in javascript

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