That query just gives me errors, what's the query I could place in a vB file?
$style=$DB_site->query("SELECT s.title FROM user u, style s WHERE u.userid = '$userinfo[userid]' AND s.styleid = u.styleid");
That also doesn't work, I'm not sure what to do, I just want to be able to put a variable in a template, and it output not the user viewing the page, but users' style sets...it's for the memberlist..
|