Update database statement for recurring bills.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
if ("2" == $_POST['step'])
|
if ("2" == $_POST['step'])
|
||||||
{
|
{
|
||||||
$sql = 'INSERT INTO ' . PREFIX . '_Reminder (Jahr, ID, Kontakt_ID, Admin_ID, MwSt, Datum) VALUES (YEAR(CURDATE()), NULL, "' . $_POST['Kontakt_ID'] . '", "' . $_POST['Admin_ID'] . '", "' . $_POST['MwSt'] . '", CURDATE())';
|
$sql = 'INSERT INTO ' . PREFIX . '_Reminder (Jahr, ID, Kontakt_ID, KfZ_ID, Admin_ID, MwSt, Datum) VALUES (YEAR(CURDATE()), NULL, NULL, "' . $_POST['Kontakt_ID'] . '", "' . $_POST['Admin_ID'] . '", "' . $_POST['MwSt'] . '", CURDATE())';
|
||||||
$stmt = $db->prepare($sql);
|
$stmt = $db->prepare($sql);
|
||||||
if (!$stmt)
|
if (!$stmt)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user