Skip to main content
1 of 3
dorien
  • 141
  • 8

Taking over a url and getting variables from url

I have a (non drupal bound) table, that I need to display within my site.

It has information about "runs":

userID (drupal) - runID - name - distance - ... etc

I want to go to site/run/runID and display the data of that particular run.

I don't know if there is an easy way of doing it without having to create a custom module for it? I basically just need to $get the variables and display them from the database. My first concern is calling my php code when the file is loaded.

And if I need to create a module for it. How would I go about it?

Or perhaps I can use panels to put my custom code on a page and get the url variables? Or some other module I am not thinking about...

dorien
  • 141
  • 8