Hello, I have problem with Sybase. When I try to get data from binary column using sybase_query, the output consist of 4, most significant digits only, wheras the rest is omitted. My PHP script looks like follows:
---------------------------------------- <? $conn = sybase_connect ( ..... , ... , ....); echo $conn; echo "\n"; echo "\n"; echo "<HR>"; sybase_select_db ( "my_db", $conn); $res = sybase_query ("select TestColumn from TestTable", $conn); echo sybase_num_rows($res); echo "<HR>"; $r=sybase_result($res,0,0); echo "$r<br>" ; ?> --------------------------------------- Value $r after execution of query is 0001 whereas it should be something like 00012354. I've tried meny variations of that simple script without success. I'll be gratefull for help. Gural. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php