So I have been working on this project of a learning site.So there are teachers and students and different subjects. So I have separated the teacher and student registration page because they go in different tables in the database. I already have a landing page and when someone clicks to register as a teacher they will see a bunch of subjects that they can choose. So I need the code to call one of those buttons in the PHP code so I can redirect them on other pages.This is what the buttons look like:
<a href="technology_sign-up.php" class="tech-s-u" style="text-decoration:none; text-align: center; padding-left: 20px;">
<button style="cursor:pointer;border: none; background-color: dodgerblue; border-radius: 5px;"><h1 style="color: white; font-family: Patua One;">
Technology
</h1>
</button>
</a>
Basically i need to create a function and i need to call this button as a variable and then use it. If I should do it with AJAX please give more explanation because I don't understand AJAX that well. Excuse me for if my explain isn't completely understandable! I am new to PHP. Thank you!!