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:

Use java script file client side and server side at a time in node js

30-07-2017 node js include call javascript

Detect AdBlock with JavaScript in my browser

30-07-2017 AdBlock javascript detect

How to redirect one page to another page in php

20-03-2017 redirect php

Remove last two characters from given string

06-03-2017 substring javascript remove

Email validation regular expression in javascript

22-02-2017 email validation regex