getting quotes

ok im trying to get quotes from my forum so users are able to quote other users posts...

what i came upwith is this

on the forumpgae display a quote button that has a form like so

   <form action="index.php?page=reply&id=<? echo $forumpostid ?>" method="post" name="quote">
        <input name="quote3" type="hidden" value="<? echo $getreplies3['postid'];?>" />
        <input type="submit" value="quote" />

then on the action page display a textbox that shows the below code... the thing is nothing shows up in the textbox ??
<textarea id="inputforum" class="inputforum" name='yourpost' rows='5' cols='40'><?php if(isset($_POST['quote'])) {
                        $quote= $_POST['quote'];
 <? echo $quote; }?> </textarea>

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sholdn't you be refering to the hidden input named "quote3"? $_POST['quote3']...
Ray PaseurCommented:
You may want to show us a little more of this than what you posted above.  Where do these variables come from?

Also, in your input you have <input name=quote3 but in your action script you have if(isset($_POST['quote'] and I think you'll find that quote3 and quote are not the same thing.
runnerjpAuthor Commented:
ahh yes got it working :)... is this the best way to do it?

also below is how i show my quotes..

how could i make it look like the image added so that the user who quoted it is added ect and it looks smart?

"[quote]" => "<p style=\"background: #E2E2E2; border: 1px solid #99b3b4; padding: 6px;\"><span style=\"font: bold 10px Courier New;\"></span>", "[/quote]" => "</p>" 

Open in new window

Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

runnerjpAuthor Commented:
or anything fancy like that~?
Ray PaseurCommented:
I think your quote scheme looks fine.

<snip>how could i make it look like the image</snip>

That's really a separate question.  What you're looking for is called a "teaser fragment" in online journalism.

Anyway, glad you got the input and action scripts working together!  Best regards, ~Ray

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Good thing it worked :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.