echo ( date("l, F dS Y.") ); ?>
require_once("address_fns.inc"); ?> // First time in if ($search_me == "") { //echo( "First time.
" ); exit(); } // no data if ($search_field == "" || $search_field == " ") { ?>You must type something in the "Surname" field
exit(); } // Connect to the database server if (!db_connect()){ echo( "Unable to connect to the database server at this time.
" ); exit(); } $query = $sqlString." '%$search_field%';"; if (DEBUG) echo "$query
"; // Run the search query $result = @mysql_query($query); // The query didn't work for some reason... if (!$result) { ?>Error performing query: echo mysql_error(); ?>
exit(); } /* Query was OK - check record count */ $recordCount = MYSQL_NUMROWS($result); ?>echo $recordCount ?> record(s) found echo $searchURL ?>
| Surname | Christian Name | Home Phone | Cell Phone | Detail | |
|---|---|---|---|---|---|
| echo $row["LAST_NAME"]; ?> | echo $row["FIRST_NAME"]; ?> | echo $row["HOME_PHONE"]; ?> | echo $row["CELL_NUMBER"]; ?> | echo getEmail($row["EMAIL_ADDRESS"]); ?> | ');">Detail |
| echo $searchURL; ?> |