mysql_field_type returns unexpected result
| From: | Steven Holloway | Date: | Fri, 20 Oct 2000 01:15:36 +0000 |
| Subject: | mysql_field_type returns unexpected result | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-21314@lists.php.net to get a copy of this message | ||
Hi all,
I recently started using this function to assist with validation of form
data before building my INSERT query
being especially important since i my fields flagged NOT NULL in mysql.
integer and decimal fields returns expected
"int" for integers, "real" for decimals (all i have tried at this stage),
BUt the wierdness occurs when a text field
comes back as as type "blob". HAs anyone seen this or kno why this occurs.
MySQL version is 3.23.19-beta-debug under
Win32 have moeved the DB over to my linux box yet to se iof there are any
differences.
Does anyone know anything??
Cheers
Steven
*******************************
Steven Michael Holloway
Web Programmer
Port Douglas Internet Services
Cairns Australia
steven@pdis.com.au
*******************************