note 34555 rejected from ref.oci8 by nicos

From: Date: Thu, 31 Jul 2003 11:48:28 +0000
Subject: note 34555 rejected from ref.oci8 by nicos
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-53066@lists.php.net to get a copy of this message
Note Submitter: vanclei@terra.com.br ---- --- Generator of Reports --- <? $conDB=OCILogon("scott","scott","test"); echo "<form method=\"post\" enctype=\"application/x-www-form-urlencoded\">". "<textarea name=\"statement\" cols=\"60\" rows=\"3\" wrap=\"VIRTUAL\" style=\"width: 300px\"></textarea><br>". "<input type=\"Submit\" name=\"BUTTON\" value=\"Executar\"></form></td></tr></table></p>"; error_reporting(0); $prs=ociparse($conDB,$statement); $executa=ociexecute($prs); $num_columns = OCINumCols($prs,$conDB); if(ocifetch($prs)){ echo '<TABLE border=0><TR>'; for($x=1;$x<=$num_columns;$x++){ echo '<TH>' . ocicolumnname($prs,$x) . '</TH>'; $row_num++; } echo '</TR>'; settype($y,'integer'); do { $y++; if($y % 2) echo '<TR BGCOLOR="#CCCCCC" VALIGN=TOP>'; else echo '<tr>'; for($x=1;$x<=$num_columns;$x++){ echo '<TD >' . ociresult($prs,$x). '</TD>'; $row_num++; } echo '</tr>'; }while(ocifetch($prs)); echo '</table>'; } ocifreestatement($prs); OCILogoff($prs); ?>

« previous php.notes (#53066) next »