PDA

View Full Version : Should I use replacement variables to do this?


dan_p
02-16-2007, 09:25 PM
When a user signs up for my forum I ask for the city, state, and if in Pennsylvania the county they live in within the state and then display it in the post bit like:

[city], [State]
([county] County)

On the main website (outside of the forum) I have a web page set up with information about each county so what I want to do is make it so that if the user has specified a county that the "[county] County" text is a link to the respective page but I'm not sure what is the most efficient way to do this.

Any of you guru's have suggestions on how to do it?