From: "Brian V Bonini" <[EMAIL PROTECTED]>

> function splitPageResults($query, $max_rows, $count_key = '*',
> $page_holder = 'page') {
> 
> Am I wrong in assuming that $count_key is being explicitly set to '*' in
> this instance?

Only if no value is passed when the function is called. 

splitPageResults('some query',32)

will result in $count_key and $page_holder getting the defaults listed. 

splitPageResults('some query',32,'foo','bar')

will now results in $count_key => foo and $page_holder => bar

More examples in the manual, I'm sure...

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to