Need help moving data from php page to php page

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
podarum
Forum Commoner
Posts: 51
Joined: Mon Jun 15, 2009 1:36 pm

Need help moving data from php page to php page

Post by podarum »

I have a form I've created where on submit the data goes to a process.php page that shows and also calculates the fields inputed in the form. If I want to keep on moving this data from the process.php page to yet another process2.php page coming from the porcess.php page.. how can I do it..

Right now in form I use <form action="process.php method="post" ...>
In process.php I have (for example) $Score = $_Post['Score']; and $NewScore = 1.2*$Score;
I want from process.php to yet post this data to a new prosess2.php page.

You see I'm trying to insert somehow a PayPal page where the customer only gets the results from process.php if and only if they had made and verified a payment...and I have no idea on how to do that :( .. Thanks
jamkelvl
Forum Newbie
Posts: 9
Joined: Thu Jun 25, 2009 3:23 pm

Re: Need help moving data from php page to php page

Post by jamkelvl »

Hey

I'm pretty new to PHP myself but I have done something like this before.

There a few ways you can go about this...

Try session cookies, passing the information through the URL or even saving the information to a database and then calling it from the second page.

Depends on what the information of course.
Post Reply