| 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? |