#1 Drupal Development Book: http://amzn.to/1PwoAo3
Visit www.TorontoWebsiteDeveloper.com/store to purchase a Drupal video tutorial series.
In this 4th video tutorial on Drupal 7 module development, I show you how we can insert data into and delete data from our database. To do so, we first call the hook hook_flag_flag from the flag module and use the Devel module to look inside the variables passed to the function. From there, we are able to grab the data we need and using the database api, insert our data into the database.
Following similar steps, we conclude the tutorial by deleting the data from the database when a node is unflagged.
On this page of the site you can watch the video online Drupal 7 Module Development Tutorial #4 - Inserting Data Into and Deleting Data From Our Database with a duration of hours minute second in good quality, which was uploaded by the user Web Development Tutorials 28 November 2013, share the link with friends and acquaintances, this video has already been watched 13,250 times on youtube and it was liked by 191 viewers. Enjoy your viewing!