1
Hi,
I'm trying to make my own module, only I get an error when inserting something in the database..
I'm using the following code to add something to the database:
$xoopsDB->query("INSERT INTO ".$xoopsDB->prefix("cervex_config")."(location, value) VALUES('config', 1)";
This is the first module I'm creating, I know I do something wrong, but I don't know how I must do it..
Anyone who sees what goes wrong??
(sorry for my English)
Greets Corne
edit:
Is there a tutorial or something for working with a database from XOOPS modules? Or does someone have an simple example?