Quote:
Originally Posted by dndog
Erwin,
I'm trying to make a form where someone can type the name of a website in $answer2 and then paste the link in $answer1 and it will link the word in the post. Here is my edited formanswers template:
PHP Code:
$formtitle $bbuserinfo[username] Link to Site: <A HREF="$answer1">$answer2</a>
Here is what happens:
PHP Code:
Link to Site <A HREF="game name">http://www.dndonlinegames.com</a>
How can I make this work? Thanks!
|
Replace:
HTML Code:
<A HREF="$answer1">$answer2</a>
With:
The [url ] bbtag:
HTML Code:
[url="$answer1" ] $answer2 [/url ]
Remove the space in the url tags, but keep the space around $answer2.