Sample PHP Search Form

Enter your query below
"") { if ($iPG <= 0 ) { // Get the first page of data $oSearch = new CISVC($strSearchString); } else { // $iPG is specifying a page number (0 indexed) $oSearch = new CISVC($strSearchString, $iPG); } // end if $iPG if ($oSearch->iRecordCount > 0 ) { echo ("
Documents ".$oSearch->iFirstDocinPage." to ".$oSearch->iLastDocinPage." of ".$oSearch->iRecordCount); echo (" matching the query".chr(34)."".$strSearchString."".chr(34)."

\n"); $oSearch->HTMLShowPage(); $oSearch->HTMLShowMessages(); $oSearch->HTMLNavBar(); $oSearch->HTMLPageSummary(); } else { // oSearch->iRecordCount < 0 echo ("

No documents matched the query ".chr(34).$strSearchString.chr(34)."

"); } // end if iRecordCount > 0 } else { // Search String is NULL echo "

Please enter a word or phrase to search for.

"; } // end if Search String not NULL ?>