View Full Version : How to use PHP Module?
altunoren
01-07-2015, 01:11 PM
Hi. i want to know how to using PHP modul at vbulletin 5 version? i try to write some php code but i doesnt work. can please someone show some example?
Best regards...
ozzy47
01-07-2015, 01:17 PM
What Was the code you were using, and what steps did you take yo try to add it?
altunoren
01-07-2015, 01:18 PM
i try to get row_count from database. using mysql connect, using mysql_query it isnt possible?
ozzy47
01-07-2015, 01:26 PM
You need to provide the full code you tried, as well as how you tried to add it.
altunoren
01-07-2015, 01:30 PM
$query = "SELECT COUNT(*) FROM user WHERE usergroupid='2'";
$result = mysql_query($query);
$row = mysql_fetch_array($result);
$num = $row[0];
echo "Registered: ". $num . " ";
its working out of forum.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.