CRego3D
05-08-2004, 10:26 PM
at my forums (linuxcult) I use nephp CMS for the main page
I asked the nephp programmer how coudl I place on the postbit the number of entries a user had done in the nephp system with a link to it's entries
he todl me I need to call this function
extract(mysql_fetch_array(mysql_query("SELECT COUNT(nnet_aid) AS `totalpost` FROM `lfora`.`nnet_articles` WHERE nnet_uid='[user_id_here]' AND nnet_title!='' AND nnet_activated='1'"),MYSQL_ASSOC));
does it make sence to anybody ? (I am not a programmer) .. how can I integrate this ?
cheers and thanks in advance for any help.
Carlos
I asked the nephp programmer how coudl I place on the postbit the number of entries a user had done in the nephp system with a link to it's entries
he todl me I need to call this function
extract(mysql_fetch_array(mysql_query("SELECT COUNT(nnet_aid) AS `totalpost` FROM `lfora`.`nnet_articles` WHERE nnet_uid='[user_id_here]' AND nnet_title!='' AND nnet_activated='1'"),MYSQL_ASSOC));
does it make sence to anybody ? (I am not a programmer) .. how can I integrate this ?
cheers and thanks in advance for any help.
Carlos