| Re: Need help in kernel/member.php |
| by lunaticalm on 2009/4/22 5:03:04 Thank you very much ghia, phppp. Quote: $res = $xoopsDB->queryF($query); This solved the code to work. Many time i wondered what is the diference between query and queryF, now i know :). |
| Re: Need help in kernel/member.php |
| by phppp on 2009/4/22 1:26:48 update queries are forbidden under a GET request. Try le="color: #000000"><?php $res = $xoopsDB->queryF($query);
|
| Re: Need help in kernel/member.php |
| by ghia on 2009/4/22 0:31:38 Try once: le="color: #000000"><?php echo "error: $xoopsDB->error()";
|
| Re: Need help in kernel/member.php |
| by lunaticalm on 2009/4/21 22:07:20 I added and global $xoopsDB; at the code and at error msg i have le="color: #000000"><?php error: INSERT INTO myprefix_xoopsnotifications (not_modid, not_itemid, not_category, not_event, not_uid, not_mode) VALUES (9,867,'scrap','new_scrap',867,0) When i run that query with phpmyadmin the query is executed with no errors , and new record is inserted into the table |
| Re: Need help in kernel/member.php |
| by ghia on 2009/4/21 21:51:46 With the exit, copy the query and put it in the SQL window of phpMyAdmin and press go. It would give a clear error message if the query itself is not acceptable. |