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:

Convert Time 24 hrs to 12 hrs format In javascript

12-03-2017 date javascript 12hrs convert

Remove last two characters from given string

06-03-2017 substring javascript remove

Filter for insert HTML in Angular Js

06-03-2017 filter show html angular js html

Filter for replace text in Angular Js

05-03-2017 filter replace angular js

How to set or update or push the values into Object in javacript

27-02-2017 javascript set update push object