Problems with BLOB Field in SYBASE
| From: | Issaev Andrei | Date: | Thu, 07 Jan 1999 13:44:20 +0000 |
| Subject: | Problems with BLOB Field in SYBASE | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3367@lists.php.net to get a copy of this message | ||
Hello!
I have a trouble with working image ( blob ) field in PHP.
I create next script:
===================================
<?
sybase_connect("SYBASE","sa","");
sybase_select_db("pubs2");
$rid=sybase_query("select * from au_pix");
$nfld=sybase_num_fields($rid);
$row=sybase_fetch_row($rid);
for($i=0;$i<$nfld;$i++)
{
printf("<BR>%s", $row[$i]);
}
?>
===================================
In runtime - i have "Segmentation failure" !!!
What is it ? How i may work with BLOB ???
SYBASE - 11 ( Linux) , Linux - 2.0.36 ( RedHat 5.2)
Issaev Andrei,
S.Peterburg, Russia