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:

Check null values in JavaScript?

04-02-2019 JavaScript null check null value

Functions in javascript

25-05-2018 functions javascript es5 es6 arrow functions named functions Closures Nested Functions Callbacks Arrow functions.

Using slice remove last two characters from given string

07-03-2017 slice remove

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

27-02-2017 onchange events dropdown javascript functions

Send Mail in Node Js

21-02-2017 node js mail npm module