Page 1 of 1

alert windows!

Posted: Thu Dec 18, 2003 12:20 am
by Miss.Apache
i want this messeges "in echo" to be in an alert window!
anyone knows how? :oops:


if($var==0)

echo "<br>Your program compiled successfully! <br>";
else

echo "Compiled failed! <br><br>";

echo "The output from compiler is:<br>";
echo "<br>////////////////////////////////////////////////////////////////////////////////////////////////////////<br>";

for($i=0;$result[$i];$i++) //print the return string in $result.
{
echo $result[$i]."<br>";
}
echo "//////////////////////////////////////////////////////////////////////////////////////////////////////<br>";

Posted: Thu Dec 18, 2003 2:13 am
by m3mn0n
Yeah.

Check out this search to learn more: [google]javascript alert window[/google]

Posted: Fri Dec 19, 2003 2:00 pm
by Derfel Cadarn
Euhm, doesn't this thread belong in the group 'javascript' instead of this (PHP) group?

Hello, MOD are you there??

Posted: Fri Dec 19, 2003 3:43 pm
by Miss.Apache
i did it inside PHP itself!

Posted: Fri Dec 19, 2003 3:45 pm
by Derfel Cadarn
Miss.Apache wrote:i did it inside PHP itself!
I apologise, Miss.Apache!!
You're absolute right: PHP. I must have been on another planet for a few sec's. :oops:

Sorry!