PHP:
comSQL.CommandText = "SELECT * FROM isi_content WHERE Content LIKE '%' + @tb_suche + '%' OR seitentitel LIKE '%' + @tb_suche + '%' OR navitext LIKE '%' + @tb_suche + '%' AND NOT content LIKE '%' + @not + '%' AND BDeleted=0 AND BOnline=1 ORDER BY ParentOfParentID ASC"
Moin,
ich hab hier grad probs mit nem Query
Ich würde gerne die ergebnisse anzeigen welche
Content LIKE '%' + @tb_suche + '%'
ODER
seitentitel LIKE '%' + @tb_suche + '%' '
ODER
navitext LIKE '%' + @tb_suche + '%'
ABER NICHT
content LIKE '%' + @not + '%'
UND
BDeleted=0
UND
BOnline=1
GEORDNET ANHAND VON
ParentOfParentID ASC"
Seiten titel und navitext wird komplett ignoriert, jemand ne idee ?
Gruß
Nudel
EDIT:
Und meine AND NOT geschichte wir auch ignoriert, das ist das schlimmste
Zuletzt bearbeitet: