ID: 44459 Updated by: [EMAIL PROTECTED] Reported By: clark dot ryan at gmail dot com -Status: Analyzed +Status: Open Bug Type: Sybase (dblib) related Operating System: Windows XP PHP Version: 5.2.5
Previous Comments: ------------------------------------------------------------------------ [2008-03-25 11:04:27] [EMAIL PROTECTED] It's returning a empty string, and this ever will occur with the actual code. ------------------------------------------------------------------------ [2008-03-17 20:26:50] clark dot ryan at gmail dot com Description: ------------ sybase_fetch_field is consistently returning me a NULL value for column_source. Reproduce code: --------------- $conn = @sybase_pconnect('server','user','pass'); $query = "SELECT * FROM Products WHERE productID = 1"; $rs = sybase_query($query); $row = sybase_fetch_field($rs); echo '<pre>'; print_r($row); echo '</pre>'; Expected result: ---------------- stdClass Object ( [name] => productID [max_length] => 11 [column_source] => 'Products' [numeric] => 1 [type] => int ) Actual result: -------------- stdClass Object ( [name] => productID [max_length] => 11 [column_source] => [numeric] => 1 [type] => int ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44459&edit=1