Text link to submit a form using Post method

This is my first post, I'm a senior(college) right now taking a class on PHP and we are using the Facebook API to create applications. this is the first time I ever work with PHP and web developing for that matter.I need to create a list of links which I populate using a database and my own tables. This I did, now I need that when I click a link the program directs me to another page but I need to send some kind of ID to this page so I can do something different with each link. I have tried learning to do this is Javascript only to find out Facebook doesn't allow it.

Facebook documentation: (http://wiki.developers.facebook.com/index.php/Fb:submit)
Creates a JavaScript submission mechanism for a form, which makes image or text links act as Submit buttons. Markup contained by this tag is surrounded with an <a> tag that includes a submit onclick action.

Basically, anything contained within the <fbsubmit> .... </fb:submit> tags acts as a submit button. All of the tags that Facebook uses can be found at http://wiki.developers.facebook.com/index.php/FBML. By the looks of things they have their own set of HTML markup tags. This is to ensure that everyone that develops applications to work with Facebook can integrate successfully.