ID: 15399 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Feature/Change Request PHP Version: 4.1.1 New Comment:
PHP has no (strict) types so it doesn't matter which types mysql_fetch_row & co return. Previous Comments: ------------------------------------------------------------------------ [2002-02-06 05:17:07] [EMAIL PROTECTED] As a recent starter with PHP and MySQL, I have been caught out for too long not realising that all fields returned using mysql_fetch_row (and presumably others) are returned as strings. It would be really useful if there were a variant mysql call which returned the field with an appropriate type. Is the problem that PHP doesn't have enough types? Well, a fairly good job could be done on it anyhow. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15399&edit=1