I'm looking for my sql table to perform a sort, but only if the search form has not been sent.
Can someone help me with the correct syntax please?
<th><?php if(!isset($_POST['search'])) { echo "<a href='?orderby=FirstName&order="$firstOrder";' }?>">First Name</a></th>
Thanks
<th><?php if(!isset($_POST['search'])) { echo "<a href='?orderby=FirstName&order=".$firstOrder."'>First Name</a>"; }?></th>chheck and let me know