(file) Return to func_dellinks.php CVS log (file) (dir) Up to [RizwankCVS] / geekymedia_web / mysqlinks / lib

 1 rizwank 1.1 <?php
 2             //get set
 3             include('./config.php');
 4             
 5             // get authorised
 6             include('./validate.php');
 7             
 8             // get connected
 9             include('./database.php');
10             
11             ?>
12             <?php
13             
14             	$query = "DELETE FROM `$HTTP_GET_VARS[link_cat]` WHERE `id` = '$HTTP_GET_VARS[link_id]' LIMIT 1";
15             	$results = mysql_query($query) or die("Invalid request: " . mysql_error());
16             	$go = "Location: " . $mysqvars[url] . "/admin.php?msg=96&func=8&which=" . $HTTP_GET_VARS[link_cat]; 
17             	header($go);
18             
19             ?>

Rizwan Kassim
Powered by
ViewCVS 0.9.2