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

 1 rizwank 1.1 Click on a category name to delete it.<br />
 2             <span class="error">Please be sure that deleting the category is what you really want to do, as all links within the category will also be deleted and there is <u>no undo</u>.</span><br /><br />
 3             
 4             <?php
 5             $results = mysql_list_tables($mysqdb['name']) or die("Invalid request: " . mysql_error());
 6             
 7             while ($row = mysql_fetch_row($results)) {
 8              $cats[] = $row[0]; 	
 9             }
10             
11             for ($i = 0; $i < count($cats); $i++) {
12             	$funkychars = rawurlencode($cats[$i]);
13             	print "<a href=\"lib/func_delcat.php?delete_category=" . $funkychars . "\"> &bull; " . $cats[$i] . "</a><br />\n";
14             }
15             		
16             mysql_free_result($results);
17             
18             ?>

Rizwan Kassim
Powered by
ViewCVS 0.9.2