Quote:
Originally Posted by kh99
Why do you believe that $uid_ps is not being interpreted? Maybe you should print the $query string in to your log.
The query looks right to me but I assume that your characters db table is a custom table so we can't know for sure without seeing it.
Edit: Did you try using $this->registry->db->query_write($query) ? $db probably isn't defined because that hook is called from inside a function.
|
Awesome, I'll try all of that.
Also, characters is a custom table, and when a user purchases a paid subscription, their mgroup value should change to 11 from 2, but it doesn't do it successfully, hence why I concluded $uid_ps isn't being interpreted correctly.
--------------- Added [DATE]1333293566[/DATE] at [TIME]1333293566[/TIME] ---------------
It works now, woot!
Thanks a bunch kh99