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:

Detect AdBlock with JavaScript in my browser

30-07-2017 AdBlock javascript detect

How To Get Your Blogs Posts Using Blogger API

30-07-2017 blogger api json php

How to use request module in node js

16-03-2017 request module node js

Get next date from given date in javascript

06-03-2017 date javascript next date

Email validation regular expression in javascript

22-02-2017 email validation regex