ok update you can insert this into your database chage the values to fit your needs
PHP Code:
CREATE TABLE `TrackAll` (
`ProfileID` mediumint(9) NOT NULL default '0',
KEY `ProfileID` (`ProfileID`)
) TYPE=MyISAM;
then in profile.php insert this
PHP Code:
db_res ("INSERT INTO `TrackAll` ( `ProfileID`) VALUES ('$ID')");
and then i member.php insert
PHP Code:
$counter = db_arr("SELECT COUNT(*) FROM `TrackAll` WHERE `ProfileID` = {$profileID}");
AND REPEAT THE STEPS I DID FOR THE OTHER COUNTER
what this does is everytime the profile is viewed it automatically inserts the profile id into the database no matter who views it
.
Bookmarks