db_export.php 509 B

12345678910111213141516171819202122232425
  1. <?php
  2. include("DataBase/database.php");
  3. include("DataBase/Bill.php");
  4. include("DataBase/Bill_Product.php");
  5. $bill = new Bill();
  6. $bill_product = new Bill_Product();
  7. $folder = "mysql_export/";
  8. if($bill->export($folder."bill.csv"))
  9. echo "rechnung export erfolgreich<br>";
  10. else
  11. echo "rechnung export schlug fehl<br>";
  12. if($bill_product->export($folder."bill_product.csv"))
  13. echo "bill_product export erfolgreich<br>";
  14. else
  15. echo "bill_product export schlug fehl<br>";
  16. ?>
  17. <br>
  18. Synchronisation abgeschlossen