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" />
      </form>

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'];
					      
?>
[quote] 
 <? echo $quote; }?> </textarea>

Open in new window

runnerjpAsked:
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.

Ara-Commented:
Sholdn't you be refering to the hidden input named "quote3"? $_POST['quote3']...
0
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.
0
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

quote.jpg
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

runnerjpAuthor Commented:
or anything fancy like that~?
0
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
0

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
Ara-Commented:
Good thing it worked :)
0
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
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.