Forums

PHP

This topic is locked

variable transfert between form

Posted 01 May 2002 09:53:47
1
has voted
01 May 2002 09:53:47 Patrick Meunier posted:
Hi all,

I have a little problem...There it is...

I have a page where customers insert their info and their orders. When they proceed with the form it lead them on a confirmation page where they check if all is ok.After the verification the form is sent by email.

In php,if I've understand, when u echo a variable its empty after.So when I echo the infos on my confirmation page all the variables are now empty and I can't echo them again in my email...

I've look for cookie but I doubt it can help me...not enough profecient with php...

For viewing the page ( in case I was'nt understandable...<img src=../images/dmxzone/forum/icon_smile_big.gif border=0 align=middle> )
www.vinderable.com/commande.php
its not yet finish so...dont look for details...;0)

<b>By the way, on this account I have only php support...</b>

Thanks in advance,

Patrick Meunier

Patrick
------------
Reset! The one magical button!

Replies

Replied 01 May 2002 18:22:09
01 May 2002 18:22:09 Michael O'Neill replied:
I normally POST form info not GET it.
eg. &lt;form action="do_sendform.php" method="post" name="frmVerif" id="frmVerif"&gt;

I had a very quick look and my response may be nonsense, but hey I tried!!
Mike.

Replied 01 May 2002 20:31:33
01 May 2002 20:31:33 Tim Green replied:
I'm not sure I've understood you correctly.... but where have you got the idea that when you echo a variable, it empties the variable at the same time? It does NOT do this!!!!!

Tim Green

Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>

Reply to this topic