alert windows!

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Miss.Apache
Forum Newbie
Posts: 10
Joined: Sun Dec 14, 2003 11:49 am

alert windows!

Post 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>";
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Yeah.

Check out this search to learn more: [google]javascript alert window[/google]
User avatar
Derfel Cadarn
Forum Contributor
Posts: 193
Joined: Thu Jul 17, 2003 12:02 pm
Location: Berlin, Germany

Post by Derfel Cadarn »

Euhm, doesn't this thread belong in the group 'javascript' instead of this (PHP) group?

Hello, MOD are you there??
Miss.Apache
Forum Newbie
Posts: 10
Joined: Sun Dec 14, 2003 11:49 am

Post by Miss.Apache »

i did it inside PHP itself!
User avatar
Derfel Cadarn
Forum Contributor
Posts: 193
Joined: Thu Jul 17, 2003 12:02 pm
Location: Berlin, Germany

Post 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!
Post Reply