Search
 
SCRIPT & CODE EXAMPLE
 

PHP

how to play sound with php

$file_name = "sound.mp3";
echo '<audio autoplay="true" style="display:none;">
       <source src="'.$file_name.'">
      </audio>';
Comment

PREVIOUS NEXT
Code Example
Php :: date diff php 
Php :: laravel foreach 
Php :: php scandir 
Php :: php previous page 
Php :: how to define function in php 
Php :: add class to body class wordpress 
Php :: how to prompt user for input in php 
Php :: php remove leading zeros 
Php :: get public_html directory php 
Php :: get app url in laravel 
Php :: check if index exists in array php 
Php :: twig variable exists 
Php :: remove item from collection 
Php :: how to get current location latitude and longitude in php 
Php :: Clear php cache 
Php :: offset codeigniter 3 
Php :: create function parameters php 
Php :: IlluminateDatabaseQueryExcep Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table `users` add unique `users_email_unique`(`email`)) laravel 
Php :: laravel collection slice 
Php :: unlink is a directory laravel 
Php :: migrate specific migration file laravel 
Php :: Type cast using double php 
Php :: laravel validation unique two columns 
Php :: print only some characters of a string in php 
Php :: how to get last id in database codeigniter 4 
Php :: sha256 encryption in php 
Php :: get array length using php 
Php :: php imagick xampp windows 
Php :: factory laravel 
Php :: wp shortcode 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =