Alert message with a default sound

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
cyberlei
Forum Commoner
Posts: 27
Joined: Tue Oct 16, 2007 6:19 pm
Location: Milpitas, CA

Alert message with a default sound

Post by cyberlei »

Hey Guys,

Just wandering if I can display alert message with a default sound. the current code is below and the problem is no sounds. :(

function disp_alert()
{
alert("test")
}
and

$message="test";
echo '<script>alert("test");</script>';
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: Alert message with a default sound

Post by Jonah Bron »

Are you sure you have your volume up?
cyberlei
Forum Commoner
Posts: 27
Joined: Tue Oct 16, 2007 6:19 pm
Location: Milpitas, CA

Re: Alert message with a default sound

Post by cyberlei »

PHPyoungster wrote:Are you sure you have your volume up?
Yes, ofcoz. however I figure out PHP can not do the Alert function.

PS: Admin please move this topic to Client Side forum. :|

Thanks
Post Reply