PC Nerd Posted April 15, 2007 Share Posted April 15, 2007 <script language = 'JavaScript' type = 'text/javascript'> alert("Logged In !!!"); <?php echo "location.url = \"B_A-Login4a.php?Login_ID=".$Login['Login_ID']."&User_ID=".$DB_Login['User_ID']."&User_Name=".$DB_Login['User_Name']."\";"; ?> </script> thats my code....... can you see anything wrong with it. it comes up when i veiw it ( as in view source when php is executed) but it doesnt relocate user after the alert Quote Link to comment Share on other sites More sharing options...
Zeon Posted April 15, 2007 Share Posted April 15, 2007 instead of location.url try window.location Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted April 15, 2007 Author Share Posted April 15, 2007 thanks thats got it working Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.