Please make sure you read, understand, and follow Rules and Terms of Service.
0 Members and 1 Guest are viewing this topic.
<form action="index.php?page=reply&forum=<?php echo $forum; ?>&id=<? echo$forumpostid ?>" method="post"> <input name="quote" type="hidden" value="<? echo $gettopic3['postid']; ?>" /> <input name="submit" type="submit" value="quote" /></form>
<textarea id="inputforum" class="inputforum" name='yourpost' rows='5' cols='40'><?php echo$thePost; if (isset($_POST['quote'])){$quote = mysql_fetch_assoc(mysql_query("SELECT * from forumtutorial_posts where postid='".$_POST['quote']."'"));?>[quote=<?php echo $quote['author'] ?> ] <?php echo $quote['post']; ?> [/quote] <?php}?> </textarea>
which would link back to the post where the quote has been taken from.
[quote=author;postid]