Jump to content

svetbg

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

svetbg's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. $sql = "SELECT message FROM watchdog"; // message is of CLOB type $parsed = oci_parse($c, $sql); I. if (oci_execute($parsed)) {     $numrows = oci_fetch_all($parsed, $tmpArr, 0, 1000);     for ($i=0; $i<$numrows; $i++) {         echo $tmpArr["MESSAGE"][$i] . "\n";     } } II. if (oci_execute($parsed)) {     while ($row = oci_fetch_array($parsed, OCI_ASSOC)) {           $result = $row["MESSAGE"];         echo $result->load() . "\n";     } }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.