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 search text in string using php ?

29-10-2017 php search string search

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

30-07-2017 node js include call javascript

Get next date from given date in javascript

06-03-2017 date javascript next date

Filter for change Date format (MM-dd-yyyy) in Angular Js

05-03-2017 mm-dd-yyyy date formats angular js

Get Unique values from array/object in javascript

19-02-2017 javascript unique remove repeated values from array