Hallo,
das geht wahrscheinlich so:
$text = ABFRAGE AUS DEINER TABELLE
$text = str_replace(":)"<img src="bild1.gif">", $text);
$text = str_replace(":("<img src="bild2.gif">", $text);
$text = str_replace(":D"<img src="bild3.gif">", $text);
echo $text
und immer so weiter.
MFG
Andavos
--
http://www.rpgcommunity.de/clanwissen/index.php Webdesign, PHP, Clan-Aufbau und mehr
http://www.rpgcommunity.de/clanwissen/index.php Webdesign, PHP, Clan-Aufbau und mehr