Exemplo n.º 1
0
$dbConn->getGroupNames($orgArray, 'GRUP');
$dbConn->getStreetNames($streetArray);
if ($debug === true) {
    $i = 0;
    foreach ($streetArray as $org) {
        echo "{$i} = {$org}" . "<br>";
        $i++;
    }
    echo "Neighborhoods: <br />";
    print_r($hoodArray);
    unset($org);
}
if (isset($_GET['try'])) {
    unset($_GET['try']);
    if (validate_search($err_msg)) {
        if ($dbConn->dbSearch($_POST) == GOOD_RC) {
        } else {
            $err_msg = $dbConn->errmsg;
        }
        $display = false;
    }
    // end if valid input
}
// end if 'try'
if ($display) {
    ?>
     <form action="searchAll.php?try=true" method="post">
     <table align="center" border='2' width="650" frame="box" rules="none"
                cellpadding='3' cellspacing="0" bgcolor="white">
         <thead  valign="middle" align="center">
         <th valign="middle" colspan="3">&nbsp;&nbsp;&nbsp;Enter Information to Search:</th></thead>
Exemplo n.º 2
0
$dbConn->getGroupNames($orgArray, 'GRUP');
$dbConn->getStreetNames($streetArray);
if ($debug === true) {
    $i = 0;
    foreach ($streetArray as $org) {
        echo "{$i} = {$org}" . "<br>";
        $i++;
    }
    echo "Neighborhoods: <br />";
    print_r($hoodArray);
    unset($org);
}
if (isset($_POST['submit'])) {
    unset($_POST['submit']);
    if (validate_search($err_msg)) {
        if ($dbConn->dbSearch() == GOOD_RC) {
            displayFooter();
        } else {
            $err_msg = $dbConn->errmsg;
        }
        $display = false;
    }
    // end if valid input
}
// end if 'try'
if ($display) {
    ?>
      <form id="searchAll" method="post" action="searchAll.php">
         <table class="formTable" >
         <thead  valign="middle" align="center">
         <th class="roundedHeader" colspan="3">&nbsp;&nbsp;&nbsp;Enter Search Info:</th></thead>