Hey,
I want to write a query on xenforo that will have both operator AND , OR .
If i use $item->where() then it will use only AND .. but if use $item->where()->whereOr(). Then it will wrap all OR condition in AND .
Is there anyway i can write something like that .
Select * from zyx where...
According to your code, you are getting
$threadid = $param->thread_id;
from parent function so it should be like this
$threadid = $param->getParam('thread_id');
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.