I've searched as much as I can to find how to retrieve the field length from a field in a MySql database.
I want to build a page that will pull information from a database table. I have found the code to display the field names, but want to use the field length of the original mySql field to determine the maxlength of the textbox for my add page. If the answer has already been posted, I apologize. Thanks in advance!
The page would look something like this:
ID: [ ]
Name: [ ]
Description [ ]
I used the [] to represent the size of the textboxes.