Ver Mensaje Individual
  #1 (permalink)  
Antiguo 02/04/2013, 02:15
all7
Invitado
 
Mensajes: n/a
Puntos:
mostrar video desde base de datos

hola a todos alguien puede ayudarme con este codigo para mostrar vedeos subidos a base de datos y donde esta el fallo este es mi codigo de mostrar vedeos
view_video_uploaded

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sampol upload ni zick</title>
</head>
<?php
include'connect_to_db.php';
?>
<body>
<center>
<!--video view output-->
<table>
<tr>
<?php
$query = mysql_query("select * from tbl_video");
while($vid = mysql_fetch_array($query)){
echo '
<td >';
?>
<embed src="<?php echo'localhost/miweb/uploaded_folder/'.$vid['video_name'].';'?>"></embed>
<?php echo $vid['video_name'];
echo'</td>';
}
?>
</tr>
</table>
<br>
</center>
</body>
</html>



gracias a todos