2013-11-26, 11:43:16
(2013-11-23, 19:37:30)mtw Wrote: And listen out and perhaps someone will work out how to find the max_id and if the second variable is greater than max_id, will lower the second variable to max_id.
The code has always defaulted to the max_id. So there is no need to get it to use in the functions.
If you desperately need it for another reason then you can access the class method by using ...
global $lm_links;
echo $lm_links->max_link_id();