Jump to content

copying text and pasting in anouther page


runnerjp

Recommended Posts

im trying to write a script for my forum where if i user wants to quote a text displayed in a thread they click quote and the message is displed in the reply textbox between quote tags...

 

i have thought about doing it like this

 

<form class="quote_post" action="index.php?page=reply&id=<? echo $id ?>" method="post">
<input type="hidden" name="pkey" value="[code]<?php echo($message) ?>

" />

<input type="image" value="Quote" src="" />

</form>[/code]

 

but the message gets echoed out on the page

 

has any one got any ideas?

ok mybe im askign the wrong questions...

 

bascily on here when you hit the quote button and it copys the info and then sends you to the postreply text box... it then puts the code into the textbox along the lines of

 

[ quote author=runnerjp link=topic=221933.msg1019683#msg1019683 date=1224542325]

bmp

[/ quote ]

 

 

how is this done? as i would like to add this to my forum

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.