session_start(); include "shared.php"; global $fnam; selectDatabase('AssetDatabase'); $sql="SELECT * FROM videoDatabase WHERE id='".$_GET['id']."'"; $res=mysql_query($sql); while($row=mysql_fetch_row($res)){ $fnam=$row[5]; } ?>