From: [EMAIL PROTECTED] Operating system: PHP version: 4.1.1 PHP Bug Type: Feature/Change Request Bug description: returning fields with appropriate type from MySQL
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 bug report at http://bugs.php.net/?id=15399&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15399&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15399&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15399&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15399&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15399&r=support Expected behavior: http://bugs.php.net/fix.php?id=15399&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15399&r=notenoughinfo -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php