Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
$query1 = 'SELECT USA.Street, USA.Streetnumber, USA.City, USA.Zipcode, USA.Firstname, USA.Lastname
FROM user_shippingaddress as USA
INNER JOIN s_order as O
ON O.UserID=USA.UserID
INNER JOIN order_attributes OA
ON O.ID = OA.OrderID
WHERE OA.address IS NULL';
$result = mysqli_query($con, $query1);
while ($row = mysqli_fetch_assoc($result)){
$street = $row['Street'];
$streetnumb = $row['Streetnumber'];
$city = $row['City'];
$zip = $row['Zipcode'];
$firstname = $row['Firstname'];
$lastname = $row['Lastname'];
$query = "UPDATE order_attributes SET address = 'O:32:\"Address\":8
{s:6:\"street\";s:11:\"$street\";s:12:\"streetNumber\";s:3:\"$streetnumb\";s:4:\"city\";s:10:\"$city\";s:3:\"zip\";s:5:\"$zip\";s:9:\"firstName\";s:4:\"$firstname\";s:8:\"lastName\";s:5:\"$lastname\";s:10:\"postNumber\";i:;s:7:\"country\";s:11:\"Deutschland\";}' WHERE address IS NULL ";
mysqli_query($con, $query);
}