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

How to upload file by using request module

18-03-2017 request module node js

How to get drop down value when drop down change using javascript

27-02-2017 onchange events dropdown javascript functions

Sample Validations in javascript

22-02-2017 validations javascript

Get random strings from given string In javascript

21-02-2017 javascript random string