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:

File Upload Using Angular Js and Node Js

28-05-2018 AngularJs Node js file upload multer module

How to search text in string using php ?

29-10-2017 php search string search

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

Sample Validations in javascript

22-02-2017 validations javascript