View Single Post
Old 07-04-2011, 03:25 PM   PM User | #14
Kor
Red Devil Mod


 
Kor's Avatar
 
Join Date: Apr 2003
Location: Bucharest, ROMANIA
Posts: 8,478
Thanks: 58
Thanked 379 Times in 375 Posts
Kor has a spectacular aura aboutKor has a spectacular aura about
Quote:
Originally Posted by slyfox View Post
How shall the above code look, if I wish to get ($_GET) a value from my url? (topic.php?id=1&quote=2) - in this case, I need to have the quote value

And how shall the URL to start the JS function look like?

The textareas ID is id="replyText".
Is this what you are looking for?
Code:
<?php
if (isset($_GET){
$quote = &$_GET['quote'];
}
?>
<textarea value="<?php echo $quote; ?>"></textarea>
__________________
KOR
Offshore programming
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Kor is offline   Reply With Quote