| |
"); print($data->category . " | |
---|---|
"); if($data->name && $data->contact) { print($data->name . " (" . $data->contact . ")"); } else { print($data->name . $data->contact); } print(" | "); print($data->phtyp1 . "  " . $data->phnum1); print(" |
"); print($data->address); print(" | "); print($data->phtyp2 . "  " . $data->phnum2); print(" |
"); print($data->city . ", " . $data->state . ". " . $data->zip); if($data->zipext) { print("-" . $data->zipext); } print(" | "); print($data->phtyp3 . "  " . $data->phnum3); print(" |
" . $query . "\n"); } // close the database connection close($connection); } else { print("