Thursday 11 December 2014

to go one page to another using javascript

to go one page to another using javascript


Use this syntax:

echo ("<script>window.location.href='home.php';</script>");

                                      OR

 echo ("<script>location.href = 'home.php';</script>");

No comments:

Post a Comment