Spalte auf Inhalt prüfen
Verfasst: 26.07.2007, 14:47
Hallo,
ich habe ein Problem!
Ich habe eine Datenbanktabelle mit folgenden Spalten:
id
titel
beschreibung
date
name
email
Alle Spalten (bis auf das Feld "beschreibung") sind immer gefüllt.
Wie kann ich prüfen ob im Feld "beschreibung" etwas drin steht oder nicht?
Wenn was drin steht - <meta name="robots" content="index, follow" />
wenn nichts drin steht - <meta name="robots" content="noindex, nofollow" />
ich habe ein Problem!
Ich habe eine Datenbanktabelle mit folgenden Spalten:
id
titel
beschreibung
date
name
Alle Spalten (bis auf das Feld "beschreibung") sind immer gefüllt.
Wie kann ich prüfen ob im Feld "beschreibung" etwas drin steht oder nicht?
Wenn was drin steht - <meta name="robots" content="index, follow" />
wenn nichts drin steht - <meta name="robots" content="noindex, nofollow" />