Htaccess    html   Php    javascript   Asp   css    maths  Past Questions  Practice Tests Online

ibase blob get function syntax tag tutorial 2013 Donate at flattr Flattr this





Alert! Connect with 10,000 Chating Online. Join Now

Php ibase blob get () function

Write your php code

 
<?php ?>

Php Result


Your code below



(PHP 3>= 3.0.7, PHP 4 , PHP 5)

ibase_blob_get --  Get len bytes data from open blob

Syntax

string ibase_blob_get ( resource blob_handle, int len )

This function returns at most len bytes from a BLOB that has been opened for reading by ibase_blob_open(). Returns FALSE on failure.

<?php
    $sql       
= "SELECT blob_value FROM table";
    
$result    = ibase_query($sql);
    
$data      = ibase_fetch_object($result);
    
$blob_data = ibase_blob_info($data->BLOB_VALUE);
    
$blob_hndl = ibase_blob_open($data->BLOB_VALUE);
    echo         
ibase_blob_get($blob_hndl, $blob_data[0]);
?>

Whilst this example doesn't do much more than a 'ibase_blob_echo($data->BLOB_VALUE)' would do, it does show you how to get information into a $variable to manipulate as you please.

Note: It is not possible to read from a BLOB that has been opened for writing by ibase_blob_create().

See also ibase_blob_open(), ibase_blob_close() and ibase_blob_echo().

Php ibase blob get Function syntax tag

ibase blob get php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online



Php ibase blob get syntax tutorial

php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.


Function index

Variables

Expressions

Operators

Control-Structures

Cookies

Array

Date & Time

Directory function

File

Image

Operators

Form data handling

Mathematics operators

Mail

Php Mysql

Network Functions

Strings

php tutorial guides,functions, classes, code examples and tags for creating simple dynamic site to mysql database driven sites
 
 
Htaccess    html   Php    javascript   Asp   css    maths  Past Questions  Practice Tests Online