# Contact form echo

**URL:** <https://forum.kirupa.com/t/contact-form-echo/220137>\
**Category:** Uncategorized\
**Created:** [March 23, 2007, 1:53am UTC](https://forum.kirupa.com/t/contact-form-echo/220137 "2007-03-23T01:53:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Icy\_Penguin](https://avatars.discourse-cdn.com/v4/letter/i/f6c823/32.png) [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)\
**Post date:** [March 23, 2007, 1:53am UTC](https://forum.kirupa.com/t/contact-form-echo/220137/1 "2007-03-23T01:53:20Z")

</div>

hey all,

am using [Dagon Design’s php mailer script.](http://www.dagondesign.com/articles/secure-php-form-mailer-script/)

you can take a quick version of it i set up just now [here](http://icypenguin.ca/ip2/index.php) (bottom of page).

my question is - how can i get it just to echo some text where the contact form is (preferably with a link back to the contact form) rather than write some html into an entirely new page?

[Here’s a text file with the php code in it.](http://icypenguin.ca/ip2/cf.txt)

Right now from what I can see is it just posts an array that includes ‘\<p\>thanks for sending me an email…\</p\>’ into a new document.

any help would be greatly appreciated.  
thanks 🙂
