I read the first and the last already
would it be something like:
PHP Code:
$sig_viewing_qry = $db->query_read("SELECT useroptions FROM ". TABLE_PREFIX."Y WHERE userid='$userid' ");
$sig_viewing_ary = $db->fetch_array($sig_viewing_qry);
$sig_viewing_data = unserialize($sig_viewing_ary['useroptions']);
foreach($sig_viewing_data AS $key => $val)
{
if ($userinfo[X] & pow(2,$key))
{
$show[testbit] .= $val.", ";
}
}
And that goes into a plugin...?
but what does x and Y equal and which plugin(s) shall i put it in and is any of that correct?
The thing is i then need to make up some more code for the navbar button..... as well as the postbit...
is it possible to when you click on a link it then runs a query and then refreshes the page not quite ajax but better plus you don't need to upload any files..