Added a '#' before 'No tables found' in a geneted dump file
This commit is contained in:
@@ -19,6 +19,8 @@ $Source$
|
||||
tag.
|
||||
* lib.inc.php3, lines 946-950; db_details.php3, lines 96 & 118; language
|
||||
files: thousands and decimal separators are now language dependant.
|
||||
* tbl_dump.php3, lines 78: Added a '#' before 'No tables found' so the
|
||||
generated dump file may be imported later even if there is no table.
|
||||
|
||||
2001-07-06 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||
* users_details.php3: fixed many little scripting bugs.
|
||||
|
@@ -20,10 +20,10 @@ else
|
||||
include("./lib.inc.php3");
|
||||
$ext = "sql";
|
||||
if($what == "csv") $ext = "csv";
|
||||
header("Content-disposition: filename=$filename.$ext");
|
||||
header("Content-type: application/octetstream");
|
||||
header("Pragma: no-cache");
|
||||
header("Expires: 0");
|
||||
header('Content-Type: application/octetstream');
|
||||
header('Content-Disposition: filename="' . $filename . '.' . $ext . '"');
|
||||
header('Pragma: no-cache');
|
||||
header('Expires: 0');
|
||||
|
||||
// doing some DOS-CRLF magic...
|
||||
|
||||
@@ -75,7 +75,7 @@ else{
|
||||
}
|
||||
if($num_tables == 0)
|
||||
{
|
||||
echo $strNoTablesFound;
|
||||
echo "# $strNoTablesFound";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user