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:

A Very Big Sum | Javascript | hackerrank

07-05-2020 A Very Big Sum Javascript hackerrank

How to submit form using javascript or jquery.

16-04-2017 javascript jquery submit form

Using slice remove last two characters from given string

07-03-2017 slice remove

Filters for convert text to camel case in Angular Js

05-03-2017 angularjs camelcase filters

How to remove last / value from url in javascript

27-02-2017 array javascript last value