1
Hey.
I have kind of a wired problem...
I'm developing a module, and I have this code:
$sqlinsert="INSERT INTO xoops_kina_cinemas
(cinema_name,cinema_image,cinema_address,cinema_phone,cinema_website)
VALUES('bla','vla','vka','dsa','dddd')";
if (!$xoopsDB->query($sqlinsert))
{
echo "Error in SQL
" .$sqlinsert. "
" . $xoopsDB->error();
}
But the insert doesn't work, i don't get any error message and when I try (by copy'n'paste) the same sql-statement in phpmyadmin, it works perfectly. The code is executed andI get my echo out, but the database stays empty?!?
Have I missed something??!?