This topic is locked
[SOLVED]

 php echo with windows pop-up

1/20/2012 7:09:41 PM
PHPRunner General questions
L
lkh11lkh author

hi
<?php

echo "Hi, I'm Bob.<br />";

echo "Welcome to my portal.<br />";

echo "Have a Nice Day.";

?>
how do i apply above into this echo "<script>alert('I\'m a popup window')</script>";

because i require afew echo.
please advice.
thanks alot

C
cgphp 1/21/2012

If you want to show an alert when the list page is loaded, enter the following code in the "Javascript onload" event:

alert("Hi, I'm Bob" + '\n' + "Welcome to my portal." + '\n' + "Have a Nice Day.");
L
lkh11lkh author 1/21/2012

hi cristian
thanks alot.