Hallo,
natürlich muss das so aussehen:
$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
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