
By: Greg | Date: Mar 19 2009 14:38 | Format: PHP | Expires: never | Size: 598 B | Hits: 999
- <?php
- require_once('Connections/database_connection.php');
- $setfeature0 = mysql_query("UPDATE file SET file_featured='0' WHERE file_featured='1'") or die(mysql_error());
- $setfeature1 = mysql_query("UPDATE file SET file_featured='1' WHERE file_id='$_GET[id]'") or die(mysql_error());
- ?>
- http://fyp.greghesp.com/adminarea.php
- need to login before hand:
- UN: admin
- PW: admin
Latest pastes
1 hours ago
2 hours ago
2 hours ago
3 hours ago
6 hours ago