A litle pause in between ....

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Skywalker
Forum Contributor
Posts: 117
Joined: Thu Aug 29, 2002 3:33 am
Location: The Netherlands

A litle pause in between ....

Post by Skywalker »

Let me explane what I want to do. I have a mail script that works fine.
1 lets say the user fild in the html forum, klicks on submit.

Then ther will be an action lets say the scripts name is insert-data.php
When the user has klicked it is going to the script insert-data.php, that script inserts everything in to the database.

But in that same script you are using $_post['Name'] for example
then when everything is inserted, is it then also posible to do

<form method="post" action="mail.php">
<inputa type=hidden value="<?php $_post['Name'] ?> ">
</form>

and send it then to the next script with an submit button? tho send then the mail.

Let me know if somebody knows,

Greathings Skywalker
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

except that it should be

Code: Select all

..
<input type=hidden value="<?php echo $_POST['Name'] ?> ">
...
why shouldn't it be possible?
Just try it :D
User avatar
Skywalker
Forum Contributor
Posts: 117
Joined: Thu Aug 29, 2002 3:33 am
Location: The Netherlands

Post by Skywalker »

thx ;)
Post Reply