0){ while($row = mysql_fetch_array($result)){ $i++; $no=$row[no]; $open=$row[open]; $titles=$row[title]; $userx=$row[user]; $dateup=$row[dateup]; $filesname=$row[filename]; } @mysql_db_query($dbname,"UPDATE www.efiling SET open=open+1 WHERE no='$no' "); echo""; //header("Location: $filesname"); /* $typeF=explode('.',$filesname); $typeF[1]=strtoupper($typeF[1]); if(substr($typeF[1],0,3)=='DOC')echo ""; */ } mysql_close($objConnect); ?>