[Vtigercrm-developers] insert data function

Enrico Weigelt weigelt at metux.de
Wed May 2 09:31:09 PDT 2007


Hi folks,


JFYI: I've added an new function run_insert_data($table,$data) to 
the PearDatabase lass ($adb). It handles the cases where simply 
one record is inserted to some table. The sql query is built from 
an associative array (in fact this is done by sql_insert_data()),
executed and if an error is detected, an error is thrown.

I'm going to submit an patch this afternoon.


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service

  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact at metux.de
  cellphone: +49 174 7066481
---------------------------------------------------------------------
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------



More information about the vtigercrm-developers mailing list