mr e
03-05-2003, 02:59 AM
ok im trying to make it when you click a link that it puts text into a textbox, this is where the problem comes in, if i do this
<a href="#quickreply" onclick="vbform.message.value='[ QUOTE][ i]Originally posted by $originalposter [/i][ B]$pagetext [/B][/QUOTE]'">QR Quote</a>
then it works fine, but if i do this
$qrquote
it doesn't, and i've looked at the html source code AND echoed this variable out on the page and it's the same thing as above...
eval('$quotereply = "'.gettemplate('quotereply').'";');
$qrquote = "<a href=\"#quickreply\" onclick=\"vbform.message.value='".$quotereply."'\">QR Quote</a>";
this is the code im using for the one that WON'T work
can anyone help me out here this isn't making any sense to me
<a href="#quickreply" onclick="vbform.message.value='[ QUOTE][ i]Originally posted by $originalposter [/i][ B]$pagetext [/B][/QUOTE]'">QR Quote</a>
then it works fine, but if i do this
$qrquote
it doesn't, and i've looked at the html source code AND echoed this variable out on the page and it's the same thing as above...
eval('$quotereply = "'.gettemplate('quotereply').'";');
$qrquote = "<a href=\"#quickreply\" onclick=\"vbform.message.value='".$quotereply."'\">QR Quote</a>";
this is the code im using for the one that WON'T work
can anyone help me out here this isn't making any sense to me