note 33886 added to function.ocicolumntype

From: Date: Thu, 10 Jul 2003 06:59:01 +0000
Subject: note 33886 added to function.ocicolumntype
Groups: php.notes 
Request: Send a blank email to php-notes+get-51824@lists.php.net to get a copy of this message
Don't forget to convert the column number from string to int if the value is being posted from a form. eg. <? $conn = OCILogon("scott", "tiger", $db); $stmt = OCIParse($conn,"select * from test"); OCIExecute($stmt); $column_index = intval($column_index); echo OCIColumnType($stmt, $column_index); ?> <FORM name="myform" action="<?php echo $PHP_SELF ?>" method="post"> .. <INPUT type="text" name="column_index"> .. </form> ---- Manual Page -- http://www.php.net/manual/en/function.ocicolumntype.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33886 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33886&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33886&report=yes

« previous php.notes (#51824) next »