$strError

"; if(isset($sql_query) && !empty($sql_query)) { echo "$strSQLQuery:

$sql_query

"; } if(empty($error)) echo $strMySQLSaid.mysql_error(); else echo $strMySQLSaid.$error; echo "
$strBack"; exit; } global $conf; mysql_pconnect($conf['dbhost'], $conf['dbuname'], $conf['dbpass']); @mysql_select_db($conf['dbname']) or die ("Unable to select database"); $tables = mysql_list_tables($conf['dbname']); $num_tables = @mysql_numrows($tables); if($num_tables == 0) { echo $strNoTablesFound; } else { $i = 0; $heure_jour = date ("H:i"); print "# ========================================================$crlf"; print "#$crlf"; print "# $strName : ".$conf['dbname']."$crlf"; print "# $strDone $date_jour $strat $heure_jour $crlf"; print "#$crlf"; print "# ========================================================$crlf"; print "$crlf"; while($i < $num_tables) { $table = mysql_tablename($tables, $i); print $crlf; print "# --------------------------------------------------------$crlf"; print "#$crlf"; print "# $strTableStructure '$table'$crlf"; print "#$crlf"; print $crlf; echo get_table_def($conf['dbname'], $table, $crlf).";$crlf$crlf"; print "#$crlf"; print "# $strDumpingData '$table'$crlf"; print "#$crlf"; print $crlf; get_table_content($conf['dbname'], $table, "my_handler"); $i++; } } //Header("Location: admin.php"); ?>