urobyl som to podla vseho stranku ale nevipisuje mi ziadny text neviem preco
$prispevok=$vypis['prispevok'];
$textik = wordwrap( $obsah, 50, 1);
$texticek= htmlspecialchars($textik);
$najst=array
(
":-)",
":-D",
":-(",
"|-/",
":-[]",
";-)",
"8-|",
"8-o"
);
$nahradit=array
(
"<img src='img/smajly/1.gif' alt=':-)'>",
"<img src='img/smajly/2.gif' alt=':-('>",
"<img src='img/smajly/3.gif' alt=':-D'>",
"<img src='img/smajly/4.gif' alt=':-O'>",
"<img src='img/smajly/5.gif' alt=':-O'>",
"<img src='img/smajly/6.gif' alt=':-O'>",
"<img src='img/smajly/7.gif' alt=':-O'>",
"<img src='img/smajly/8.gif' alt=':-O'>"
);
$text=str_replace($najst, $nahradit, $texticek);