Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Shegox authored and Shegox committed Jun 21, 2016
1 parent ef6d1db commit 1737a9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

//SQL server
$DATABASE = "eve_wallet";
$TABLE = "myCorpName";
$USER = "username";
$PASSWORD = "userpassword";

Expand Down
2 changes: 1 addition & 1 deletion safe_holding.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
foreach ($journal as $row)
{
print_r($row);
$sql = "INSERT INTO `we_still_breastfeed`(`date`,`refID`,`refTypeID`,`ownerName1`, `ownerID1`, `ownerName2`, `ownerID2`, `argName1`, `argID1`, `amount`, `balance`, `reason`, `owner1TypeID`, `owner2TypeID`) VALUES ('{$row["date"]}','{$row["refID"]}','{$row["refTypeID"]}','{$row["ownerName1"]}', '{$row["ownerID1"]}', '{$row["ownerName2"]}', '{$row["ownerID2"]}', '{$row["argName1"]}', '{$row["argID1"]}', '{$row["amount"]}', '{$row["balance"]}', '{$row["reason"]}', '{$row["owner1TypeID"]}', '{$row["owner2TypeID"]}')";
$sql = "INSERT INTO `{$GLOBALS["TABLE"]}`(`date`,`refID`,`refTypeID`,`ownerName1`, `ownerID1`, `ownerName2`, `ownerID2`, `argName1`, `argID1`, `amount`, `balance`, `reason`, `owner1TypeID`, `owner2TypeID`) VALUES ('{$row["date"]}','{$row["refID"]}','{$row["refTypeID"]}','{$row["ownerName1"]}', '{$row["ownerID1"]}', '{$row["ownerName2"]}', '{$row["ownerID2"]}', '{$row["argName1"]}', '{$row["argID1"]}', '{$row["amount"]}', '{$row["balance"]}', '{$row["reason"]}', '{$row["owner1TypeID"]}', '{$row["owner2TypeID"]}')";
echo $sql;
var_dump(sql_write($sql));
}
Expand Down

0 comments on commit 1737a9a

Please sign in to comment.