Thread subject: muscapaul's PHP-Fusion website :: Newsletter Infusion v2.xx

Posted by Puma on 16-08-2008 23:23
#41

Would it also be possible to display in the newsletter subscribe panel how many members are subscribed?
I'm using this piece of code on my v6 site but i'm not sure how to change it to work with v7.

Code
$sql_n = dbquery("SELECT COUNT(newsletter_sub_user) as antal FROM ".$db_prefix."newsletter_subs");
$data = dbarray($sql_n);
echo "<br><center>".$locale['nl505']."$data[antal] ".$locale['nl506']."</center>";
   }
} else {
   echo $locale['003'];
}
closeside();
?>




EDIT: Nevermind,it seems the code that was used for this in v6 also works in v7 ;)


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 147
Edited by Puma on 17-08-2008 01:35