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