Code: Select all
if (preg_match("/dressing/i", "$rowp->title")) And this warning for it:
[text]Notice: Trying to get property of non-object in [/text]
Is it flagging it up because "dressing" hasn't been found? Because there about 8 of these preg_matches and the rest are fine.