How to change a tag to button tag?

because I am connected to facebook, I will need the following functions:

$loginUrl = $helper->getLoginUrl("https://xxx.xxx.com/fb-sdk/fb-callback.php", $permissions);

        echo "<a class="user_signup_btn_facebook" href="" . htmlspecialchars($loginUrl) . "">Facebook</a>";

but what he proposes htmlspecialchars ($loginUrl) is the a tag
which will lead to my class user_signup_btn_facebook this perfect
which he will only do on button will be completely dropped when a tag is implemented!
how can I change this a header to a button header and issue htmlspecialchars ($loginUrl) in the same way?

Mar.14,2021

echo '<button class="user_signup_btn_facebook" onclick="' . htmlspecialchars($loginUrl) . '">Facebook</button>';

how about this

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9824e-16b1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9824e-16b1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?