... CONCAT(..., IFNULL((SELECT ...), ersatztext))
~dave
Hi Dave
ich habe das in die SQL Abfrage bei PhpMyAdmin eingegeben:
select CONCAT((SELECT title FROM tx_holidayweb_types WHERE uid = type_uids LIMIT 1),' ',city,' - ',(title),' - ', (SELECT IFNULL title FROM tx_holidayweb_themes WHERE uid = theme_uids LIMIT 1, Testtitel)) from tx_holidayweb_accommodations where uid=".$acco)
Fehler ist das
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Testtitel)) from tx_holidayweb_accommodations where uid=".$acco)' at line 1
Ich hoffe dass dies hilft
LG
HArald