I need to build an online quotation system but as I'm new to PHP and learning while I'm doing the project, so I'm going very slooow. Well, anyway... I did the sign up form and the login page. Now I need to create the page for a new quote. I have experience with MS-Access where I would create two tables, one for the form header and a second one for items... subforms would do the trick. But how to build that sceneario in a web application using PHP and Dreamweaver??
Should I create one page for the quote header and another for the itens?
How do I pass an quote auto-incremental number to the itens page??
Thanks for any help.
online quote
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: online quote
Moved to PHP-Code.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Re: online quote
Building the form in Dreamweaver (or whatever editor you choose to use) is not going to be like Access at all. In fact I would suggest you put the thought of how Access handles forms far from your perception for the time being.
You are going to need to create the markup (the form HTML) and the PHP processing code. The processing code will talk to the database server to push the data from the form into the tables by way of your SQL. Autoincrement values would be handled here, at the database side of things.
You are going to need to create the markup (the form HTML) and the PHP processing code. The processing code will talk to the database server to push the data from the form into the tables by way of your SQL. Autoincrement values would be handled here, at the database side of things.