SELECT COUNT(id) AS anzahl, *
FROM u_users_sales_promotion
WHERE
promotion_start_date >= '2025202520252025-JanJan-FriFri'
AND
promotion_end_date <= '2025202520252025-JanJan-FriFri'
AND
deleted IS NULL
AND
deleted_timestamp IS NULL
Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '*
FROM u_users_sales_promotion
WHERE
promotion_start_dat...' at line 1 in /www/htdocs/w01d2851/artplaner.com/page/inc_func/functions.persona.public.inc.php:317
Stack trace:
#0 /www/htdocs/w01d2851/artplaner.com/page/inc_func/functions.persona.public.inc.php(317): mysqli_query(Object(mysqli), '\n\t\t\t\t\tSELECT CO...')
#1 /www/htdocs/w01d2851/artplaner.com/page/public_profil_artist.php(117): get_public_artist_data('uli-laechelt', 'ap_website_layo...', 'name')
#2 /www/htdocs/w01d2851/ap_artists_with_own_domains/uli-laechelt/index.php(8): include('/www/htdocs/w01...')
#3 {main}
thrown in /www/htdocs/w01d2851/artplaner.com/page/inc_func/functions.persona.public.inc.php on line 317