|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-01-20 20:04 UTC] ab@php.net
-Status: Open
+Status: Feedback
[2016-01-20 20:04 UTC] ab@php.net
[2016-01-31 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 17:00:01 2025 UTC |
Description: ------------ ok... <?php /*The loop and enter information on the type blob sub_type text fields using "PDO_FIREBIR" and / or "ibase" the system is lost */ /*CREATE TABLE TESTE ( CAMPO BLOB SUB_TYPE 1 SEGMENT SIZE 4096 ); */ $base = "localhost/3070:D:/Flavio/pessoal/projetos/firebird/data/BASEFB.FDB"; $con = new PDO("firebird:dbname=".$base,"SYSDBA","masterkey"); $valor = 'asdfghijklmnopqrstuvxwyz'; for($i = 0; $i <= 1; $i ++){ echo $i; $valor += $i; $ins = $con->prepare("INSERT INTO TESTE( CAMPO ) VALUES (:CAMPO)"); $ins->bindParam(":CAMPO", $valor ); $ins->execute(); } Test script: --------------- ok... <?php /*CREATE TABLE TESTE ( CAMPO BLOB SUB_TYPE 1 SEGMENT SIZE 4096 ); */ $base = "localhost/3070:D:/Flavio/pessoal/projetos/firebird/data/BASEFB.FDB"; $con = new PDO("firebird:dbname=".$base,"SYSDBA","masterkey"); $valor = 'asdfghijklmnopqrstuvxwyz'; for($i = 0; $i <= 1; $i ++){ echo $i; $valor += $i; $ins = $con->prepare("INSERT INTO TESTE( CAMPO ) VALUES (:CAMPO)"); $ins->bindParam(":CAMPO", $valor ); $ins->execute(); }