Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include "database.php";
- $x ="SELECT * from counter order by FileName";
- $result = mysql_query($x) or die
- ("Could not execute query : $x." . mysql_error());
- echo "<p align=center><b>File Download</b></p>";
- echo "<ol>";
- while ($row=mysql_fetch_array($result))
- {
- $id = $row["id"];
- $FileName = $row["FileName"];
- $FileURL = $row["FileURL"];
- $Count =$row["Count"];
- echo "<li><a href=download.php?id=$id>$FileName</a></li>";
- }
- ?>
Add Comment
Please, Sign In to add comment