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:

Time Sorting Ascending or Descending Order in Javascript

19-07-2017 Javascript ascending order descending order

How to get id by using name attribute in javascript

20-03-2017 html id name javascript

Using slice remove last two characters from given string

07-03-2017 slice remove

Get next date from given date in javascript

06-03-2017 date javascript next date

Email validation regular expression in javascript

22-02-2017 email validation regex