Howto pass parameters when using [ID] tag

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
rotte2
Posts: 7
Joined: Tue 26. Apr 2005, 08:49

Howto pass parameters when using [ID] tag

Post 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
User avatar
Kosse
Posts: 1066
Joined: Thu 9. Sep 2004, 12:08
Location: Brussels, Belgium
Contact:

Post 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
Post Reply