I'd like to embed an image tag into the artist description... how do I do it?
At the moment if I use <img src> or <html> tags it brings it back as code - is there a way to make this field proces the HTML code?
Logged In: YES user_id=577049
Here's a suggestion, but I have no clue if it works: edit foing/includes/functions.php, and insert before
$text = str_replace("\n", "\n<br />\n", $text);
the following line:
$text = html_entity_decode($text);
Logged In: NO
nah didn't work just get an error message saying it don't know what html_entity_decode is
ok I hacked it myself this works
insterad of what colorblind said add the following
$text = strtr($text, array_flip(get_html_translation_table (HTML_ENTITIES))); $text = preg_replace("/&#([0-9]+);/me", "chr('\\1')", $text);
Log in to post a comment.
Logged In: YES
user_id=577049
Here's a suggestion, but I have no clue if it works:
edit foing/includes/functions.php, and insert before
$text = str_replace("\n", "\n<br />\n", $text);
the following line:
$text = html_entity_decode($text);
Logged In: NO
nah didn't work just get an error message saying it don't
know what html_entity_decode is
Logged In: NO
ok I hacked it myself
this works
insterad of what colorblind said add the following
$text = strtr($text, array_flip(get_html_translation_table
(HTML_ENTITIES)));
$text = preg_replace("/&#([0-9]+);/me", "chr('\\1')",
$text);