Problem when using echo'd ++$value in javascript as part of a html5 audio player page
问题 I have been making myself a 'soundboard' that populates a custom HTML5 audio player for each mp3 file it finds in a directory. Now that side of it is all working exactly as I expected but my problems started when I have attempted to add a custom timer which uses javascript. For each player, I was able to make custom controls and make the variables all marry up with things like <audio id="player<?php echo $count1++;?>" src="audio/<?php echo rtrim($file, " "); ?>"></audio> So using PHP echo a