first let me thank everyone here at phpbuilder for this great support forum, and anyone who may read this, and possible answer it. OK, i have a implemented many php applications, currently i'm trying to extend the functionality, of my coppermine photo album. OK the documentaion give me examples of the code that i need to implement which looks like this
cpm_viewTopRatedMediaFrom ($source, $rows, $columns, [array $options=""])
here's a snip of a working code for returning random images
include "./cpgfetch/cpmfetch/cpmfetch.php";
$objCpm = new cpm('/cpg133');
$objCpm->cpm_viewRandomMedia (1,11);
$objCpm->cpm_close();
So taking code that works i'm trying to implement the toprated images here is what i've come upwith, however i keep running into a parse error which looks like this
Parse error: parse error, unexpected '(' in /hsphere/local/home/rlwright/robwri.wrightinnovations.net/test3.php on line 16
here is what the code i've tried to write looks like (which returns the error )
include "./cpgfetch/cpmfetch/cpmfetch.php";
$objCpm = new cpm('/cpg133');
$objCpm->cpm_viewTopRatedMediaFrom(""(1,3)"");
$objCpm->cpm_close();
what i'm thinking is that i've got a syntax error, like a missplaced () or something small, the "source" aspect i don't need a value because i don't want it to return value from a specfic album, but all of the albums,
Thanks again for possibly answering my question
Robert