note 68205 added to function.oci-fetch-array

From: Date: Tue, 18 Jul 2006 12:14:03 +0000
Subject: note 68205 added to function.oci-fetch-array
Groups: php.notes 
Request: Send a blank email to php-notes+get-114879@lists.php.net to get a copy of this message
generating dynamic drop down list <SELECT name="reason" id="vacation_code"> <OPTION value=0 selected>Choose </OPTION> <?php $query2 = "SELECT IN_NAME, IN_CODE FROM HR_IN_REASON "; $statement2 = oci_parse ($conn, $query2); oci_execute ($statement2); while ($row = oci_fetch_array ($statement2, OCI_NUM)) { ?> <option value="<? echo $row[1]; ?>"> <? echo $row[0] ?> </option> <? } ?> </select> ---- Server IP: 66.163.161.117 Probable Submitter: 196.218.193.9 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.oci-fetch-array.php Edit -- http://master.php.net/note/edit/68205 Del: integrated -- http://master.php.net/note/delete/68205/integrated Del: useless -- http://master.php.net/note/delete/68205/useless Del: bad code -- http://master.php.net/note/delete/68205/bad+code Del: spam -- http://master.php.net/note/delete/68205/spam Del: non-english -- http://master.php.net/note/delete/68205/non-english Del: in docs -- http://master.php.net/note/delete/68205/in+docs Del: other reasons-- http://master.php.net/note/delete/68205 Reject -- http://master.php.net/note/reject/68205 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#114879) next »