1- location.replace("index.php"); 2-window.href="index.php"; 3-header("Location:index.php"); 3-Using php function: header(”Location:http://maosjb.com “); 4-echo ‘window.location.href=”‘.$filename.’”;’; echo ”; echo ”; echo ”; echo ”; } } redirect(’http://maosjb.com’); ?>
http://www.allinterview.com/showanswers/20040.html
I have just started learning PHP. So Can anyone tell me that How many methods are there to pass the variable through navigation between the different pages ?
I want to display the number of views of my homepage and continuously increase the views whenever a user opens that page. How to achieve this using PHP and MYSQL?
For example say I want include("abc.php") two times in a PHP page?