2 sql
By: Greg | Date: Mar 19 2009 14:38 | Format: PHP | Expires: never | Size: 598 B | Hits: 981
- <?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
11 hours ago
1 days ago
2 days ago
2 days ago