0

Hi, Guys If anyone have any examples of sub forms with Ajax PHP pls send me or come online to help me in am new in php.

I want something like following:

In my php file two forms are submitting data to DB.
First is customer info info and then items form.
How to create to add item in my invoices in php
Also i want to save this file in pdf.

I am waiting for help pls help me, i am online on danishahmed150@hotmail.com

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by 140fulton
0

A code sample of what you have so far would help, but here is one possible approach.

1. the customer form should return a customer id, rendering it as part of an "customer added screen"
2. the add_lineitem form calls a javascript function which includes the customer id (via document.getElementById()) in the ajax call that adds the lineitem to the database

Finally, a search of the DB by customer ID can be used to extract all lineitems and produce an invoice.

Hi, Guys If anyone have any examples of sub forms with Ajax PHP pls send me or come online to help me in am new in php.

Jack

I want something like following:

In my php file two forms are submitting data to DB.
First is customer info info and then items form.
How to create to add item in my invoices in php
Also i want to save this file in pdf.

I am waiting for help pls help me, i am online on danishahmed150@hotmail.com

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.