Re: HTML Coding in mySQL field
| From: | Steve Werby | Date: | Fri, 16 Feb 2001 05:30:56 +0000 |
| Subject: | Re: HTML Coding in mySQL field | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40106@lists.php.net to get a copy of this message | ||
"Thomas Edison Jr." <thomasedisonjr@yahoo.com> wrote:
> IN one of the fields being offered to the user, the
> user is expected to enter HTML tags alongwith the
> text. How can i display this text as html formatted on
> my PHP3 page?
That's how it will show by default.
> What should be the field type in the
> mySQL db? should it be TEXT?
Depends on the size of the data you want the user to be able to input.
CHAR, VARCHAR, TEXT and BLOB will all work.
--
Steve Werby
COO
24-7 Computer Services, LLC
Tel: 804.817.2470
http://www.247computing.com/