Einzelnen Beitrag anzeigen
  #5  
Alt 28.12.2018, 19:17:00
chris47803 chris47803 ist offline
Anfänger
 
Registriert seit: Jul 2004
Alter: 56
Beiträge: 21
AW: select über 2 Tabellen und 3 Felder

Code:
SELECT title, hometext, bodytext, storyid, topicid, topic_id, created, topic_title 
FROM artikel_stories, artikel_topics 
WHERE artikel_stories.topicid = artikel_topics.topic_id and (title LIKE '%$_POST[suche]%' OR hometext LIKE '%$_POST[suche]%' OR bodytext LIKE '%$_POST[suche]%') GROUP BY storyid order by title asc
Mit Zitat antworten