PHP-Code:
$functions_smilies = mysql_query("SELECT * FROM smilies");
while ($functions_smilies_output = mysql_fetch_assoc($functions_smilies))
{
$functions_message = str_replace ("$functions_smilies_output[smilies_code]", "<img src=\"/img/smilies/$functions_smilies_output[smilies_url]\">", "$functions_message");
}
PHP-Code:
(" $functions_smilies_output[smilies_code] ",
Achja, und wie geht das ganze, wenn ich ne url erkennen will?
Kommentar