OK will do. Thanks.
On Mon, Jan 13, 2014 at 4:14 PM, Jamie Holly hovercrafter@earthlink.netwrote:
Check out the DBTing part of the examples module:
https://drupal.org/project/examples
Jamie Hollyhttp://hollyit.net
On 1/13/2014 7:06 PM, Tony wrote:
Exactly the first scenario.I have that book but it doesn't really go into the detail I need. As you say it is a good start. But I need a good finish.
I have created a module with a form which should CRUD (can one say that?) to a table I have defined in the install file. If I could just find some sample code... How to insert (I know db_insert etc but what about the return codes and messages etc etc) .
Thanks
On Jan 13, 2014 3:39 PM, "Metzler, David" metzlerd@evergreen.edu wrote:
Not sure what you mean here. Are you talking about writing code using the drupal database API db_query, etc.? If so Drupal Pro Development is a good start. Perhaps you’re talking about using working with external non-drupal databases? Or something else?
Dave
*From:* support-bounces@drupal.org [mailto:support-bounces@drupal.org] *On Behalf Of *Tony *Sent:* Monday, January 13, 2014 3:37 PM *To:* support@drupal.org *Subject:* [support] Databases
Does anyone know of a good book covering how to work with databases and drupal?
Thanks
Tony
--
*Anthony Stefan Maciejowski*
*http://about.me/TonyMac http://www.about.me/TonyMac*
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]