[PHP-DB] Integer in DB becomes string in PHP?

2007-08-27 Thread hjfg sdfdsf
hello, I have a table test_table with one column: number int(11) (also see phpmyadmin database dump at the end of this mail). it has two values, 123 and 150. i select and output one of those numbers using the following code: --- php code start --- ? error_reporting(E_ALL);

RE: [PHP-DB] Integer in DB becomes string in PHP?

2007-08-27 Thread Daevid Vincent
27, 2007 1:59 PM To: php-db@lists.php.net Subject: [PHP-DB] Integer in DB becomes string in PHP? hello, I have a table test_table with one column: number int(11) (also see phpmyadmin database dump at the end of this mail). it has two values, 123 and 150. i select and output one