downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ibase_blob_cancel> <ibase_backup
[edit] Last updated: Fri, 23 Mar 2012

view this page in

ibase_blob_add

(PHP 4, PHP 5)

ibase_blob_addDodaje dane do nowo utworzonego BLOBa

Opis

void ibase_blob_add ( resource $uchwyt_do_bloba , string $dane )

ibase_blob_add() dodaje dane do BLOBa utworzonego za pomocą ibase_blob_create().

Parametry

uchwyt_do_bloba

Uchwyt do BLOBa otwartego przez ibase_blob_create().

dane

Dane do dodania.

Zwracane wartości

Nie jest zwracana żadna wartość.

Zobacz też:



add a note add a note User Contributed Notes ibase_blob_add
a dot w dot peters at ieee dot org 09-Dec-2004 09:48
To actually insert the BLOB into a table, the following snippet of code shows how this can be done.

<?php
  $dbh
= ibase_connect($host, $user, $pass);

 
$blh = ibase_blob_create($dbh);
 
ibase_blob_add($blh, $data);
 
$blobid = ibase_blob_close($blh);

 
$sql = "INSERT INTO blobtable(blobfield) VALUES (?)";
 
$sth = ibase_query($dbh, $sql, $blobid);
?>

 
show source | credits | stats | sitemap | contact | advertising | mirror sites