I have this weird thing going on with my button.This is my code for the button
(book button in my website) which is not working in Firefox
but works in google chrome
and internet explorer
. Is there anything that i can do to make it work in Firefox
.
This is my code;
$thisresult = mysqli_query($con,$sql);
if($booking_info['check_out'] <= date('Y-m-d')){
echo "<button style=' ' type='submit'> <a href='booknow.php?id=".$id."'> Book now!</a></button>";
}
else if(mysqli_num_rows($thisresult)>=1){
echo "You have already booked this hotel!";
}
else {
echo "<button style=' ' type='submit'> <a href='booknow.php?id=".$id."'> Book now!</a></button>";
}
}