Line 40:
Line 40:
Note that in this section, you can use the variable $db that is the resource to access Dolibarr database and is already initialized. The $conf object that contains Dolibarr configuration is also available.
Note that in this section, you can use the variable $db that is the resource to access Dolibarr database and is already initialized. The $conf object that contains Dolibarr configuration is also available.
−
== Examples ==
+
= Examples =
Some code examples (to create orders, products...) are available into directory '''/dev/samples/'''.
Some code examples (to create orders, products...) are available into directory '''/dev/samples/'''.