Re: Newbie question about PHP and Oracle
| From: | Markus Mirsberger | Date: | Tue, 28 May 2002 08:11:32 +0000 |
| Subject: | Re: Newbie question about PHP and Oracle | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99448@lists.php.net to get a copy of this message | ||
Hi,
I think you mean hwo u can get the data into an array
well here is an example :
$query = "select .......";
$stmt = ociparse( $connectionhandle, $query );
if( ociexecute( $stmt, OCI_DEFAULT ) ){
ocifetchinto( $stmt, $row, OCI_ASSOC+OCI_RETURN_NULLS );
}
and now you got 1 resultset in an associative array called $row.
take a look at the oci-functions in the manual for the different flags u can
set.
regards
markus mirsberger
"Michael Sweeney" <mike_sweeney@videotron.ca> schrieb im Newsbeitrag
news:20020527221000.32676.qmail@pb1.pair.com...
> a VERY newbie question, just how do I get data into a listbox? In mysql it
> was pretty easy with mysql_fetch_row, but for oracle I am totally lost.
>
>
> Thanks!
>
>
>
>