Page 1 of 1

Howto pass parameters when using [ID] tag

Posted: Thu 12. May 2005, 12:59
by rotte2
Hi

I'm trying to make a link to an article using the [ID] replacement tag. However I would like to pass some parameters, which is used in my article (actually in some PHP-code) to look up some data in the database. F.ex. I have the following reference:

[ID 13]See race results[/ID]

but I want to pass a userid (and 1 or 2 extra parameters) to article 13, which includes some PHP-code, which will retrieve the results from the database.

How do I do that? :?:

/Rotte2

Posted: Tue 17. May 2005, 04:43
by Kosse
Maybe this post, although not exactly what you ask (you'll have to hassle a bit with the code I guess), but OG has posted something here about passing variables:
http://www.phpwcms.de/forum/viewtopic.php?t=6839#40714

For some inspiration perhaps...
Cheers