$r = db('Grupo', 's', 'msgs', 'cat,gid,type<>,msg LIKE', $arg[1]["ldt"], $arg[1]["id"], 'like', $arg[1]["search"], 'ORDER BY id DESC LIMIT '.$perload);
Hello I’m new to PHP and this query looks alien to me, so forgive me if this is a stupid question.
I have this database query from a script I bought, it currently only searches for the msg row in the database but I would like this query to search the ‘msg’ & ‘xtra’ row
Could someone explain to me how you do this in this code? I tried everything but it never works.
Much appreciated.