RE: html - textarea tag - MySQL question

  • From: "Humberto Rodriguez" <sub@xxxxxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Tue, 18 Nov 2008 19:07:21 -0500

Hello Lamar:

You set the size of the textarea by specifying cols and rows.  If cols="60"
and rows="8" then you could have 8 rows of 60 chars each.

The maximum value of varchar is 255.  It runs from 0 to 255, or 256 choices.
Over that, you may use mediumtext or simply text.

Humberto



-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Lamar Upshaw
Sent: Tuesday, November 18, 2008 6:29 PM
To: programmingblind@xxxxxxxxxxxxx
Subject: html - textarea tag - MySQL question

I have two questions:
1. can I use the maxlenth atribute in the textarea tag?
2. I want to store the content from the textarea in a MySQL database table. 
What's the limit I can set the varchar? I thought it was 256.

With All Respect,
Upshaw, Lamar T 

__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: