|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-05-22 06:10 UTC] jah at cvs dot php dot net
[2003-06-07 00:59 UTC] shayb52 at bezeqint dot net
[2003-06-08 15:09 UTC] shayb52 at bezeqint dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 30 13:00:01 2025 UTC |
Script: $DBID=ibase_connect("localsrv:/base/eolis.gdb", "sysdba", "masterkey", "win1251"); echo $DBID; $TRANSID=ibase_trans(PHP_IBASE_COMMITED, $DBID); $QRYID=ibase_query("select o.objname, o.id, o.price from objects o, objcat c where c.id=o.catid"); while ( $row=ibase_fetch_object($QRYID) ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SEGMENTATION FAIL { $st1=$row[1]; if ( $str!=$st1[0] ) { $str=$st1[0]; echo " <big><big>$s[0]</big></big><br>" . $body; }; echo $row[1]; }; ibase_free_result($QRYID); ibase_commit($TRANSID); ibase_close($DBID); END OF SCRIPT FRAGMENT PHP Configuration: ./configure \ --with-apache=../apache \ --with-track-vars \ --with-interbase=/usr/interbase \ --with-trans-id \ --with-config-file-path=/etc Russian Apache 1.3.9 PL29 or Apache 1.3.12 Configuration: ./configure --enable-module=most \ --enable-shared=max \ --activate-module=src/modules/php4/libphp4.a