Jump to content

duplicate audio tags


etsted

Recommended Posts

this code shows me duplicate audio tags, why?

 

$mp3 .= "<audio width='320' height='240' controls>n"; $mp3 .= "<source src='$file_url' type='audio/mpeg'>n"; $mp3 .= "</audio>n"; $show .= "<div>n"; $show .= "$mp3 <br> Tittel: $tittel <br>n <span style='float:left;'>Description:</span>n <div style='border:1px red solid;overflow:hidden;width: 100px; height:20px;'>$description</div>n"; $show .= "</div>n <br>";

 

it is supposed to show 1 file form the DB then a break line, but instead shows 2 of the same audio on line with each other.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...