Hi, could someone please help me update this function. I have search and found many
solutions but the problem is I am a novice at PHP and do not understand how to
implement them.
function plogger_init_collections($arr) {
$sql = "SELECT COUNT(DISTINCT `parent_collection`) AS `num_items`
FROM `".PLOGGER_TABLE_PREFIX."pictures`";
$result = run_query($sql);
$num_items = mysql_result($result, 0, 'num_items');
$GLOBALS['total_pictures'] = $num_items;
There several functions in this Plogger gallery application that uses
mysql_result but I think if someone could show me a working example
I could workout how to update the others.
I hope I have included sufficient information and thanks in advance
for any help.