• PHP Video Tutorials

PHP - Function Longreadlen



Syntax

bool odbc_longreadlen ( resource $result_id , int $length )

Definition and Usage

It is used to handling the long coloumns

Return Values

It returns true on success or else false on failure

Parameters

Sr.No Parameters & Description
1

result_id

It contains the information about result identifier

2

length

It contains the information about number of bytes returns to php is control by the parameter length

Examples

Try out following example

<?php
   $input_ID = odbc_connect("DSN","user_id","pass_id");
   $result = odbc_exec($input_ID, "SELECT Notes FROM Employees");
   
   odbc_longreadlen($result, 8080);
   
   echo odbc_result($result,1);
?>
php_function_reference.htm
Advertisements