| [ PHPXref.com ] | [ Generated: Sun Jul 20 19:45:58 2008 ] | [ phpMSAdmin 0.14 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <?php 2 /* 3 Copyright (C) 4 5 This program is free software; you can redistribute it and/or modify it 6 under the terms of the GNU General Public License as published by the Free 7 Software Foundation; either version 2 of the License, or (at your option) 8 any later version. 9 10 This program is distributed in the hope that it will be useful, but WITHOUT 11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 13 more details. 14 15 You should have received a copy of the GNU General Public License along 16 with this program; if not, write to the Free Software Foundation, Inc., 17 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 */ 19 ?> 20 <?php 21 22 include ('inc/header.php'); 23 24 @mssql_select_db($_SESSION['database']) or die(throwSQLError('unable to select database')); 25 26 27 if($_POST['tablecount'] == '') 28 @mssql_query('DELETE FROM ' . urldecode($_GET['table']) . ';') or die(throwSQLError('unable to complete empty')); 29 else 30 { 31 for($counter = 0; $counter < $_POST['tablecount']; $counter++) 32 if($_POST['tables'][$counter] == 'yes') 33 @mssql_query('DELETE FROM ' . urldecode($_POST['tables'][$counter]) . ';') or die(throwSQLError('unable to complete empty')); 34 } 35 36 echo('<meta http-equiv="refresh" content="0;url=database_properties.php?dbname=' . urlencode($_SESSION['database']) . '">'); 37 38 include ('inc/footer.php'); 39 40 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |