PDA

View Full Version : Insead Of Members: ...


Logitech-2004
04-01-2004, 12:38 PM
I Was On How Would I Change
Members: 16814
To Like
Group 1: GroupID8
Group 2: GroupID9
ect...
On The Front Page.

AN-net
04-01-2004, 08:35 PM
you mean members in each usergroup?

Logitech-2004
04-02-2004, 03:19 AM
Yup. List How Many Members Are In Each Group

Logitech-2004
04-02-2004, 03:24 AM
Also, Anybody See A Problem With This QUERY String? It Worked GREAT For VB2.2.3 But It's Not Working For VB3 GOLD

// we insert the user into the vbdatabase
$query="INSERT INTO user (username,password,email,adminemail,joindate,cooki euser,daysprune,lastvisit,lastactivity,usergroupid ,emailnotification,receivepm,nosessionhash,showema il,plat,platplus) VALUES ('".addslashes(htmlspecialchars($HTTP_POST_VARS['mvc_USERNAME']))."','".addslashes(md5($HTTP_POST_VARS['mvc_PASSWORD']))."','".addslashes(htmlspecialchars($HTTP_POST_VARS['mvc_EMAIL']))."','1','".time()."','1','-1','".time()."','".time()."','$newusergroupid','1','1','1','1','$plat','$plat plus')";
mysql_query($query);
$userid=mysql_insert_id();
// we do a second step in order to add him correctly
$query="INSERT INTO userfield SET userid='$userid'";
mysql_query($query);
mysql_close();