I have used a audio autoplay system in php echo. It works. But repeating it again and again. I want to make it that it will repeat only one time. How can I solve it.
if ($rowcount >= '1'){
echo '
<audio autoplay>
<source src="notification_sound.mp3">
</audio>';
}