Update result.php

This commit is contained in:
Peter Goodhall 2024-10-03 14:58:41 +01:00
parent 67c2675f70
commit 0ef834bba4

View File

@ -3,7 +3,11 @@
<p>Sorry, but we didn't find any past QSOs with <?php echo $id; ?></p> <p>Sorry, but we didn't find any past QSOs with <?php echo $id; ?></p>
<h3>Callbook Search for <?php echo $id; ?></h3> <?php if (!empty($error)) { ?>
<p><?php echo $error; ?></p>
<?php } else { ?>
<!-- Your existing code for displaying the result -->
<h3>Callbook Search for <?php echo $id; ?></h3>
<?php if(isset($callsign['callsign'])) { ?> <?php if(isset($callsign['callsign'])) { ?>
<table> <table>
@ -43,10 +47,5 @@
</tr> </tr>
</table> </table>
<?php if (!empty($error)) { ?>
<p><?php echo $error; ?></p>
<?php } else { ?>
<!-- Your existing code for displaying the result -->
<?php } ?> <?php } ?>
</div> </div>