2 sql
By: Greg | Date: Mar 19 2009 14:38 | Format: PHP | Expires: never | Size: 598 B | Hits: 979
- <?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
2 days ago
3 days ago
3 days ago
4 days ago
5 days ago