Jump to content

form submissions problem


richrock

Recommended Posts

Hi,

 

I'm trying to create a form.  The first page shows a list of customers, amounts to invoice, etc.  These link to a detailed page listing full customer details, items purchased and requiring invoicing.

 

Now...

 

I need the save button on this detailed page to :

 

a: link back to the original list updated with remaining customers not invoiced.

(This is ok, I can do this bit on it's own)

b: also run a php script that generates a pdf, emails it to the customer and vendor, and saves a backup copy.

(This is also ok on it's own)

 

Problem is I can't figure how to link to both the pdf script (inv_book.php) and the original list (inv_admin.php)

 

Any ideas on this would be greatly appreciated...  My initial thought was to link back to the original list, and add a function at the start to run the PDF script.  Is this the right approach?

Link to comment
https://forums.phpfreaks.com/topic/135345-form-submissions-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.