Hello friends: I have audio and video files from html form to mysql database with php. in storing data it ok but the problem is to play those data which i have already fetched them . please if there is anyone who knowlegeable and exprience in this thing. please help
here the code to display them
$sql = "SELECT * FROM music"; $q=$con->query($sql); while ($row = $q->fetch_array()){ $id = $row['id']; $name = $row['name']; $type = $row['type']; $fileLoc = $row['data']; $desc = $row['description']; $file = $row['file']; $cre = $row['created']; echo '<a href="listen.php?fl='.$fileLoc.'&f='.$file.'">'.$name.'</a> ' .$desc.'<br />'; }