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



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

Re: UPDATE queries via xoopsDB
by Dave_L on 2004/7/27 16:28:31

The method query() can only be used for SELECT queries unless the request method is POST (as it normally is for a form submission). If you want to do a non-SELECT query where the request method is not POST, then use queryF() instead of query().
UPDATE queries via xoopsDB
by punches on 2004/7/27 16:16:17

I attempt to create a module and I use xoopsDB class to make queries against MySQL. The problem is that SELECT queries work ok and UPDATE (DELETE) queries do not work ok. I've found that UPDATE queries can work ok only if I try to use them in places where I handle data from forms. What should I do to make them work in general logic?

Who's Online

166 user(s) are online (122 user(s) are browsing Support Forums)


Members: 0


Guests: 166


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