Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
4 + 9 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

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.

Who's Online

194 user(s) are online (140 user(s) are browsing Support Forums)


Members: 0


Guests: 194


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits