I am a newbie to module development and wanted to know: Where is best place for database insert code in a 6.x module? Which function should it go in? form_submit or form_validate?
thanks in advance :)

Comments

nevets’s picture

form_submit

amardeep-chauhan’s picture

i am also new in drupal..i need a proper code how we insert and retrive data...from database...in drupal...plaese...??