S sterndi Erfahrenes Mitglied 30. August 2004 #1 Hallo leute! ich brauche eure hilfe. Wie kann ich es ermöglichen das er in der datenbank zählt wie oft ein wort in der datenbank vorkommt, Ich hoffe ihr könnt mir helfen. Mfg sterndi
Hallo leute! ich brauche eure hilfe. Wie kann ich es ermöglichen das er in der datenbank zählt wie oft ein wort in der datenbank vorkommt, Ich hoffe ihr könnt mir helfen. Mfg sterndi
C Citral Grünschnabel 30. August 2004 #2 PHP: $res = mysql_query("select count(*) from table where text like 'text'"); list($anz) = mysql_fetch_row($res); Gruß, Citral
PHP: $res = mysql_query("select count(*) from table where text like 'text'"); list($anz) = mysql_fetch_row($res); Gruß, Citral
Gumbo Erfahrenes Mitglied 30. August 2004 #3 Ist nicht sehr kompliziert: Code: SELECT LENGTH(`spalte`) - LENGTH(REPLACE(`spalte`, 'suchwort', '')) AS `anzahl` FROM `tabelle`
Ist nicht sehr kompliziert: Code: SELECT LENGTH(`spalte`) - LENGTH(REPLACE(`spalte`, 'suchwort', '')) AS `anzahl` FROM `tabelle`
S sterndi Erfahrenes Mitglied 30. August 2004 #4 thx hallo ! vielen dank für die hilfe .) werde es heute abend ausbrobieren. mfg sterndi