Hi All,
How to Play Sound where record of mysql table is added?.
thank you.
gacoekchip.pokher
0
Newbie Poster
Recommended Answers
Jump to Post@gacoekchip.pokher
You need to create a db and table and rows.
Try this code:
$sound = "<embed src='ding.wav' height=0 width=0 hidden=true autostart=true loop=false volume=100 />"; if(mysql_insert_worked) //some condition that knows if it was successful { echo $sound; }
or
You also can used ajax in <embed>:
…
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.