iEntry 10th Anniversary Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > PHP

Reply
 
LinkBack Thread Tools
Old February 7th, 2006, 08:49 AM   #1
New Member
 

Join Date: Jun 2005
Location: Oldham, UK
Age: 39
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 fredski is on a distinguished road
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.
Attached Files
File Type: zip supplier_s_categories_products.zip (11.4 KB, 22 views)
fredski is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
php , interaction , sql , data


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
InterAction daygon Full Website Reviews 5 February 13th, 2008 05:41 PM
Pausing Movie & User Interaction Issues Sqrlgrl Flash and ActionScript 1 June 11th, 2007 11:42 AM
InterAction Multi Media *Samples* daygon Full Website Reviews 1 April 10th, 2007 10:37 AM
InterAction Media daygon Full Website Reviews 3 February 13th, 2007 02:38 PM
sql data to xml bfelix Other Languages 0 January 18th, 2006 02:39 PM


Search Engine Optimization by vBSEO 3.2.0 RC8