I am setting a MySQL update page where a user is provided a HTML form to
update with data auto poulated from a MySQL database via PHP.

All the form element work except for TEXTAREA.

No matter what encoding I use (htmlspecial, htmlentities etc) I get the
browser displaying garbeld text.

Example:

MySQL data:

Headquartered in ABC Building in Anytown,  Any Province, ABC Inc. employs
approximately 2,500 people and holds almost $9 billion in quality growth
assets.  A fully integrated oil and gas company, ABC ranks second in
production and third in reserves relative to Canada's four other integrated
oil and gas companies and is the fourth-largest downstream retailer.

HTML TEXTAREA Source:

Headquartered in ABC Building in Anytown,  Any Province, ABC Inc. employs
approximately 2,500 people and holds almost $9 billion in quality growth
assets.  A fully integrated oil and gas company, ABC ranks second in
production and third in reserves relative to Canada's four other integrated
oil and gas companies and is the fourth-largest downstream retailer.

TEXTAREA Data:

5{d in ABC Building in Anytown,  Any Province, ABC Inc. employs
approximately 2,500 people and holds almost $9 billion in quality growth
assets.  A fully integrated oil and gas company, ABC ranks second in
production and third in reserves relative to Canada's four other integrated
oil and gas companies and is the fourth-largest downstream retailer.

Or

pd in ABC Building in Anytown,  Any Province, ABC Inc. employs
approximately 2,500 people and holds almost $9 billion in quality growth
assets.  A fully integrated oil and gas company, ABC ranks second in
production and third in reserves relative to Canada's four other integrated
oil and gas companies and is the fourth-largest downstream retailer.

I can't get the same results in Netscape 7 Mac or either Windows versions.
I will blame Microsoft unless there is some obscure encoding issue I can't
find. :^)

Thanks,

Dan


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to