Home  >  Article  >  Backend Development  >  An ORACLE paging program_PHP tutorial

An ORACLE paging program_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:26:531107browse

quot;-//W3C//DTD HTML 3.2 Final//EN">

Paging Test PK ID"; echo "Field 1"; echo "Field 2"; echo "Field 3"; echo "Row No"; echo ""; if ($num_rows != 0) { // Parse the SQL string & execute it $rs=OCIParse($OracleDBConn, $sql); OCIExecute($rs); // get number of columns for use later $num_columns = OCINumCols($rs); while (OCIFetch($rs)){ echo ""; for ($i = 1; $i
Total pages: ".$total_pages."
"; echo "
Number of records: ".$num_rows."
"; echo "
The SQL Query is: ".$sql."
"; ?>

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/531928.htmlTechArticlePaging Test PK ID ; echo Field 1 ; echo Field 2 ; echo Field 3 ; echo Row No ; echo ; if ($num_rows != 0) { // Parse the SQL string OCIExecute($rs); // get number of columns for us...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn