Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to play sound with php

$file_name = "sound.mp3";
echo '<audio autoplay="true" style="display:none;">
       <source src="'.$file_name.'">
      </audio>';
 
PREVIOUS NEXT
Tagged: #play #sound #php
ADD COMMENT
Topic
Name
1+9 =