Update/ Insert custom table after creating/ updating new post in Wordpress

Shapaklekas

New Member
Is there any way to update a couple of mySQL tables when I create a new post or edit an existing post.For example, I have a custom post type called 'television'. I have a custom table called tvoffers which stores offers for a particular television.So, if I am writing a post on say Sony Bravia 32" LCD, I can also enter information in the TV offers such as : \[code\]offer_id post_id Offer_name Offer_code Offer_link Price\[/code\]?Is this possible to do? Any help will be most appreciated.
 
Back
Top