This is a discussion on "PHP interaction with my SQL data" within the PHP Forum section. This forum, and the thread "PHP interaction with my SQL data are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
PHP interaction with my SQL data
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
PHP interaction with my SQL data
Please see attached zipped php page, if you look for the section commented <!-- Code for pricing Start --> you will notice I have a form for 4 fields..
Tax Class - products_tax_class_id Price Net - products_price Price Gross - products_price_gross Cost Price - products_price_myself Each of those has a related database entry, there is also another database entry for supplier percentage - suppliers_percentage. What I cant figure out how to do is hide the fields for price net and price gross and only display the tax class and cost price. And when a value is entered into the cost price it will fill in the net field based on the percentage increase which will in turn fill in the gross price based on the tax class. At the moment only the gross price is updated when a value is entered manualy in the net field. Any help with this would be much apprieated.. Thank you. |
|
|
![]() |
| Tags |
| php, interaction, sql, data |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| InterAction | daygon | Free Web Site Critique | 5 | Feb 13th, 2008 20:41 |
| Pausing Movie & User Interaction Issues | Sqrlgrl | Flash & Multimedia Forum | 1 | Jun 11th, 2007 14:42 |
| InterAction Multi Media *Samples* | daygon | Free Web Site Critique | 1 | Apr 10th, 2007 13:37 |
| InterAction Media | daygon | Free Web Site Critique | 3 | Feb 13th, 2007 17:38 |
| sql data to xml | bfelix | Other Programming Languages | 0 | Jan 18th, 2006 17:39 |