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:

Check null values in JavaScript?

04-02-2019 JavaScript null check null value

File Upload Using Angular Js and Node Js

28-05-2018 AngularJs Node js file upload multer module

How to use request module in node js

16-03-2017 request module node js

Navigate to another page using java script

06-03-2017 javascript redirection navigation

Filter for replace text in Angular Js

05-03-2017 filter replace angular js