Jump to content

Archived

This topic is now archived and is closed to further replies.

wolves

html chars

Recommended Posts

Use a semicolon after or it or the value instead of the name: & # 1 8 0 ; (without the spaces)

Share this post


Link to post
Share on other sites
I can't modify the string that I get, because it's became from a thirdparty script

It's ok to output in the broswer, but I can't use for sql selects/inserts . . . .

Share this post


Link to post
Share on other sites
Are you using the function mysql_real_escape_string() on your data being inserted into your database? If not, you should be.

Ken

Share this post


Link to post
Share on other sites
I need the real value of &aacute, &bacute . .. . . ..

php doesn't have a native function to convert it?

Share this post


Link to post
Share on other sites
Look at the function [a href=\"http://www.php.net/html_entity_decode\" target=\"_blank\"]html_entity_decode[/a]().

Ken

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.