note 33886 deleted from function.ocicolumntype by didou
| From: | didou@php.net | Date: | Tue, 12 Aug 2003 08:47:12 +0000 |
| Subject: | note 33886 deleted from function.ocicolumntype by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-53976@lists.php.net to get a copy of this message | ||
Note Submitter: surfie_sime at yahoo dot com
----
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>