AW: [PHP] OCI8 and LOBS
| From: | Sebastian Stadtlich | Date: | Thu, 12 Oct 2000 16:39:25 +0000 |
| Subject: | AW: [PHP] OCI8 and LOBS | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-19839@lists.php.net to get a copy of this message | ||
the code i copyed+pasted from a project, but you will get the idea.....
$hol_lieferant = "SELECT
LIEFERANTENFRAGEBOGEN from Nutzer where id=$hol_id";
$stmt = OCIParse ($conn,$hol_lieferant);
$clob = OCINewdescriptor($conn,OCI_D_LOB);
OCIDefineByName($stmt, "LIEFERANTENFRAGEBOGEN",
&$clob,OCI_B_CLOB);
OCIExecute($stmt);
while (OCIFetch($stmt)) {
$mailtext_alt = $clob->load();
}
have fun
sebastian
> -----Ursprüngliche Nachricht-----
> Von: Brian Hand [mailto:BCHand@dto.com]
> Gesendet am: Donnerstag, 12. Oktober 2000 18:20
> An: 'php-general@lists.php.net'
> Betreff: [PHP] OCI8 and LOBS
>
> All,
>
> Can some one point out or send to me a code snipet that
> allows a select
> statement that pulls out a clob field in the table?
>
> Thank You
> Brian
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>