XML : Transform to XML: Send ID to XSL Param

I'm not sure how to word this or if the title of my problem makes sense.

In my index.php page, I am querying data from the database. The data I am fetching is title, job_id, and location.

I would like to turn the job_id into a href link, that when clicked on will send the job id that is clicked on to job_postings.xsl

  <td><div align="center"><?=$row["job_id"];?></div></td>    

Here is the code from job_postings.xsl:

  <xsl:param name="job_id">90186036</xsl:param>      <xsl:template match="/">    

I need to be able to send the current job id of whatever link it clicked to job_postings.xsl to replace 90186036

Any help what be greatly appreciated. I have tried much troubleshooting with no luck.

No comments:

Post a Comment