HTML hyperlink pass variable to PHP - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

HTML hyperlink pass variable to PHP

jandrewsjandrews Posts: 30Member
I want to use a hyperlink to pass a variable with it to be processed by a php destination page. When someone clicks on the "SYLLABUS" button on a teacher's web page, I want the button to pass on the teacher's name to the syllabus.php page which will use that variable to search for the syllabus "where teacher =".$teacher;.

I know how to do everything except pass the teacher's identity along with the hyperlink. If anyone knows how to do this, it would have much larger implications for me. THANK YOU!


Sign In or Register to comment.