Re: html - textarea tag - MySQL question

  • From: "Lamar Upshaw" <lupshaw@xxxxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Tue, 18 Nov 2008 20:42:24 -0800

Ok, thanks for this. I was under the impression that setting the rows and cols was only to show how much text would be visible on screen, but the textarea tag was unlimited. Thanks for clearing this up.


With All Respect,
Upshaw, Lamar T

----- Original Message ----- From: "Humberto Rodriguez" <sub@xxxxxxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Tuesday, November 18, 2008 4:07 PM
Subject: RE: html - textarea tag - MySQL question


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


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

Other related posts: