search.php
changeset 79 0c0aa144356a
parent 71 e1b918eaf69a
child 82 c255196bc447
equal deleted inserted replaced
78:effde559e0e9 79:0c0aa144356a
    23 
    23 
    24 if (isset($_POST['s_submit']) || isset($_POST['q']))
    24 if (isset($_POST['s_submit']) || isset($_POST['q']))
    25 {
    25 {
    26 	$submitted=true;
    26 	$submitted=true;
    27 	$search_result=search_record($_POST['q']);
    27 	$search_result=search_record($_POST['q']);
       
    28 } else {
       
    29 	$submitted = false;
    28 }
    30 }
    29 
    31 
    30 // we will continue after the search form ... 
    32 // we will continue after the search form ... 
    31 include_once('inc/header.inc.php');
    33 include_once('inc/header.inc.php');
    32 ?>
    34 ?>
    46      </form>
    48      </form>
    47     </table>
    49     </table>
    48       
    50       
    49 <?php
    51 <?php
    50 // results
    52 // results
       
    53 
    51 if ($submitted)
    54 if ($submitted)
    52 {
    55 {
    53 	echo '<br><br>';
    56 	echo '<br><br>';
    54 
    57 
    55   	// let's check if we found any domains ...
    58   	// let's check if we found any domains ...