Submitting a form to a new 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
oldtimer
Forum Contributor
Posts: 204
Joined: Sun Nov 03, 2002 8:21 pm
Location: Washington State

Submitting a form to a new page?

Post by oldtimer »

Is this possable without Java. I want to have a submit button do a normal submit and then have another buttone that will submit to a new page to show a total. Is this possable?

Jerry
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Should be.

Can you give some more detail?
oldtimer
Forum Contributor
Posts: 204
Joined: Sun Nov 03, 2002 8:21 pm
Location: Washington State

Post by oldtimer »

Right now I have a bid sheet for the store I work at that uses Java script to keep a running total of the cost of the stuff as we select an item. However I am kind of wanting to get away from the java.

Just have each field open up like it does with a drop down list of the certain components. Then at the bottom you would have a submit button which then enteres the bid into the database and then prints what was just entered to a page so that we can print it for the customer.(This is done already). Now instead of having the java keep the running total I would like to also have a SUBTOTAL button that if you click on it will Open up a new page(ie like target="_blank") with the subtotal listed.

Is that enough or do you need more detail.
Post Reply