Timeline for Unable to save data from custom drupal form
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 26, 2013 at 9:16 | comment | added | Mołot | @Lucky Don't ask many questions in one. If you really do, then your question should be put on hold as too broad. the button is named "Ask Question". Singular. Not "Ask Questions". And it's not a coincidence. | |
Nov 26, 2013 at 9:12 | comment | added | Lucky | @Mołot i haven't..since i asked those in my question already..for which i got reply only for saving operation i just reminded user20301 for the same.. | |
Nov 26, 2013 at 9:08 | comment | added | Mołot | @Lucky please don't turn comments here into a forum thread, OK? If you have separate questions, feel free to simply ask them, or visit chat. | |
Nov 26, 2013 at 8:42 | comment | added | user20301 | Validate E-mail Addresses drupal.org/node/279127, Sending mail api.drupal.org/api/drupal/includes!mail.inc/function/…. | |
Nov 26, 2013 at 8:25 | comment | added | Lucky | @user20301 how to validate email and how to send an email to the user after saving the values to database successfully.. | |
Nov 26, 2013 at 8:18 | comment | added | Lucky | @user20301 thnks for the answer.EDIT: i removed the comma after the array closing bracket.. Now the data is saving.. | |
Nov 26, 2013 at 8:18 | history | edited | user20301 | CC BY-SA 3.0 |
Discouraged usage of this answer.
|
Nov 26, 2013 at 7:43 | comment | added | Mołot |
Note: it should be discouraged to use db_query for inserts. db_insert and db_merge are much safer, and their syntax makes it harder to make mistakes. Can't upvote without this in answer.
|
|
Nov 26, 2013 at 7:39 | comment | added | user20301 | Updated the answer by dropping the quotes on placeholders. Db api should take care of placing them automatically. | |
Nov 26, 2013 at 7:38 | history | edited | user20301 | CC BY-SA 3.0 |
Unquoted the placeholders.
|
Nov 26, 2013 at 7:35 | comment | added | Lucky | this is also saving :fName for firstname and :lName for lastname and so on... | |
Nov 26, 2013 at 7:25 | history | answered | user20301 | CC BY-SA 3.0 |