0DayDB Views Modification This mod will add to the functionality of 0daydb by tracking how many people view each download. -------------------------------------------------- In your SQL manager (e.g. phpMyAdmin), open your downloads table. Add a field to the end of the table. Call the new field "views" and give it the following attributes: type: INT length: 5 Save the field. OPEN download.php UNDER include("dbconnect.php") ADD: mysql_query("UPDATE downloads SET views = views+1 WHERE id = '".addslashes($_GET['id'])."'"); *REPLACE downloads WITH THE NAME OF YOUR DOWNLOADS TABLE* This is now complete. To show the views in index.php, use $row[views] for example.