Quote:
Originally Posted by Tri@de
I solved modifying the query in this way:
PHP Code:
$vbulletin->db->query_write(" UPDATE " . TABLE_PREFIX . "user AS user
SET artcount = (SELECT COUNT(postusername) AS count
FROM thread
WHERE title LIKE 'Articolo:%'
AND postuserid = user.userid)
");
|
that doesnt work for me either, I just have a 0 although I have clearly written loads of articles..