Hi all, please help.
I have page wich shows detail information of hospitals in my xoopscube module, this page don't have any submitted values, as usual i get id from $_GET['id'] and select data from database and i have to write log into log table. When i try to insert log data to database it fails, because my $db object of my Mymod_LogHandler class is XoopsMySQLDatabaseProxy.
XoopsMySQLDatabaseProxy.query(..) function doesn't allow insert, update statements. :(
From other pages wich have submitted values my $db object class is XoopsMySQLDatabaseSafe and works good with insert statements, i guess because page has submitted values.
How can i write log in this situation?
Thanks for attention.
Problem solved using queryF method.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.