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:

How To Get Your Blogs Posts Using Blogger API

30-07-2017 blogger api json php

How to get current date and time (yyyy-mm-dd H:i:s) using javascript

09-03-2017 javascript date time

Remove last two characters from given string

06-03-2017 substring javascript remove

Sample Validations in javascript

22-02-2017 validations javascript

Get random strings from given string In javascript

21-02-2017 javascript random string