Blitz Posted December 15, 2005 Report Share Posted December 15, 2005 Datu baze man ir BLOB lauku lai glabatu tur textu. Izveidoju to kaa BLOB DATA_TYPE 1, taatad teksts. Problema tada ka pec tam velkot vinu ara no datu bazes, izvelk nevis tekstu bet 0x00000000000000bc. izmantojo vienkarsi $query="SELECT ATSKAITE FROM DB_ATSK"; $result=ibase_fetch_row($dbh, $result); $row=ibase_fetch_row($result); echo "$row[0]"; Link to comment Share on other sites More sharing options...
Grey_Wolf Posted December 15, 2005 Report Share Posted December 15, 2005 kaadeelj neizmanto TEXT tipu? plain teksta glabaashanai krietni eertaaks... IMPHO un tam arii domaats... Link to comment Share on other sites More sharing options...
Blitz Posted December 15, 2005 Author Report Share Posted December 15, 2005 (edited) Izskatas ka fire bird tad tipu neatbalsta, un nekadu info ari atrast nevaru. Liekas ka ar tie pasiem BLOB vien bus jameigina... Izskatas ka interbasei tikai uzliek CHAR datu tipu lielaku pa 200 tad automatiski vinu uzstaisa pa MEMO. Taakaa viss ir bumbaas tema slegta :) Edited December 15, 2005 by Blitz Link to comment Share on other sites More sharing options...
Delfins Posted December 15, 2005 Report Share Posted December 15, 2005 A tu vispār manuāli lasi ?? ibase_blob_add -- Add data into a newly created blob ibase_blob_cancel -- Cancel creating blob ibase_blob_close -- Close blob ibase_blob_create -- Create a new blob for adding data ibase_blob_echo -- Output blob contents to browser ibase_blob_get -- Get len bytes data from open blob ibase_blob_import -- Create blob, copy file in it, and close it ibase_blob_info -- Return blob length and other useful info ibase_blob_open -- Open blob for retrieving data parts Link to comment Share on other sites More sharing options...
Recommended Posts