loongreadlen - 语法

bool odbc_longreadlen ( resource $result_id , int $length )

它是用来处理长颜色的

Sr.No 参数 & 描述
1

result_id

它包含有关输出标识符的信息

2

length

它包含关于返回给php的字节数的信息,是由参数length控制的

loongreadlen - 返回值

成功时返回TRUE,失败时返回FALSE

loongreadlen - 示例

<?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);
?>

参考链接

https://www.learnfk.com/php/php-function-longreadlen.html