Rename "Debug MySQL" to "Debug SQL" and fix table name

This commit is contained in:
Miles Lott 2001-03-11 06:00:16 +00:00
parent f78f032243
commit b2b1f7bca2
2 changed files with 2 additions and 1 deletions

View File

@ -150,7 +150,7 @@ function outlook_end_record($buffer,$private="private") {
$thisname=""; $thisname="";
$thisvalu=""; $thisvalu="";
} }
$namelist = $namelist."\nINSERT INTO addressbook (owner,".$thisname; $namelist = $namelist."\nINSERT INTO phpgw_addressbook (owner,".$thisname;
$valulist = $valulist."VALUES ('".$phpgw_info["user"]["account_id"]."',".$thisvalu; $valulist = $valulist."VALUES ('".$phpgw_info["user"]["account_id"]."',".$thisvalu;
} elseif ($row==count($lines)-1) { } elseif ($row==count($lines)-1) {
if (!empty($name) && !empty($value)) { if (!empty($name) && !empty($value)) {

View File

@ -147,6 +147,7 @@ function outlook_end_record($buffer,$private="private") {
list($name, $value) = split("%%",$lines[$i]); list($name, $value) = split("%%",$lines[$i]);
$row++; $row++;
$namelist .= array($name => $value); $namelist .= array($name => $value);
echo $name.' '.$value;
} }
return $buffer.$namelist; return $buffer.$namelist;