echo " <div class='mail-text' onclick='audio.play ( )'>"; echo output_text($post['msg'])."</p>\n"; echo "</div>"; ?> <script> var audio = new Audio("/p/bell_ring.mp3 "); audio.oncanplaythrough = function ( ) { } audio.onended = function ( ) { } </script> <?