OZONE Asylum
Forums
Server-Side Scripting - Oh my!
mysql_fetch_fields as field_name => max_length array();
This page's ID:
31073
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
[quote] [b]Tyberius Prime said:[/b] have a look at the mysql DESCRIBE TABLE statement. [/quote] thank you very much for your input i had at look at it and im not sure im not nearly as advanced with this as you are because i couldnt figure out a solution to my problem with the information i read. if it is possible would you be able to offer a solution as to how i can tweak my code or maybe an alternative in order to get my desired results? Again what i need is the ability to go to my database and get all the field names put them into an array with the field name being the key and the max field length to be the value so that i can check to make sure all my form elements do not exceed their max values without having to manually type all the fields into an array. sorry for being such a amateur or newbee as some may call it, but your help would be greatly appreciated. thank you.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »
Maximum Security
OZONE
DHTML/Javascript
Server-Side Scripting - Oh my!
CSS - DOM - XHTML - XML - XSL - XSLT
Stupid Basic HTML
Visual Therapy
Photoshop
Photoshop Pong, Anyone?
***WARNING*** BIG SIG APPROACHING
Photography
3D Modelling & Rendering
Multimedia/Animation
Print Graphics
Holding Pens
Philosophy and other Silliness
Outpatient Counseling
Site reviews!
Mad Scientists' Laboratory
Getting to know the Grail