This is the code I am using to display certain data from mysql database in a template like panel. I want to know how can i display a button with href using html5 for every template.
while($result = mysqli_fetch_assoc($results)){
echo '<div class="fetch">';
echo "<p>".$result['FIRST_NAME']." ".$result['LAST_NAME']."</p>";
echo "<p>".$result['QUALIFICATION']."</p>";
echo "<p>".$result['Specialization']."</p>";
echo "<p>".$result['Adress1']." ".$result['Adress2']."</p>";
echo "<p>"."<b>Consultation Fee-</b>"." ".$result['Consultation_Fee']."
</p>";
echo "<p>"."<b>Experience-</b>"." ".$result['Experience']."years"."</p>";
echo '</div>';
<button>doesn't do anything without either being in a<form>or having a script attached. If you're trying to make a button that goes to a page ('with an href'), then just add another line that starts with echo and has an<a>tag in it. You can use CSS to make the<a>look just like a button.echoed and wrapped in quotes. Should be fine.