Anyone in the house please, Can someone spot out while the below video script is entry empty data on my database. The table name is videos with field names as defined but the problem is that it does not input any data into the database after filling/uploading and submitting the video form. And the output script cannot work without the input in the database Maybe there is something I can’t figure out in the scripts, can anyone look at it! Thanks, Gab This is the video input script <?php if (isset($_POST[Submit])) { include ("mydatabase.php"); $name=mysql_real_escape_string($_POST[name]); if (file_exists("upload/" . $_FILES["file"]["name"])) { echo $_FILES["file"]["name"] . " already exists. "; } else { move_uploaded_file($_FILES["file"]["tmp_name"], "upload/" .urlencode( $_FILES["file"]["name"])); $path="upload/" . urlencode($_FILES["file"]["name"]); $insert=mysql_query("insert into videos(username,name,path)Values('$username', '$name', '$path')"); if(!$insert) echo "problem inserting:".mysql_error(); else echo "Video uploaded"; } } ?> This is the video output script <?php include ("mydatabase.php"); $username=$_SESSION[12345]; $sel=mysql_query("SELECT * FROM videos where username='$username' order by id desc"); while($row=mysql_fetch_array($sel)) { $path=$row[path]; $name = $row[name]; $username2=$row[username]; echo "<embed src=$path autostart=false loop=false ><p/>"; } ?> Thanks [Non-text portions of this message have been removed]