View Full Version : making a bell sound?
10-12-2009, 07:14 PM
I have a php script which autoloads every minute to display txt msgs out of a database. I want to add a sound if there is a new msg in the database - so my question is: how do I make a sound in php? I have a .wav file of the sound I want to use. Thanks
10-12-2009, 07:37 PM
Find an MP3 "ding" file ... perhaps the name of the file will be "ding.mp3" ...
Then try this:
echo"<embed src='ding.mp3' autostart='true' hidden='true' id='sound1' loop='false'></embed>\n";
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.