Jump to content

[SOLVED] javascript relocation and alert


PC Nerd

Recommended Posts

<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

Link to comment
https://forums.phpfreaks.com/topic/47073-solved-javascript-relocation-and-alert/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.