27.09.2016, 15:39
I don't think you understand what cache_num_rows does because it is completely out of place in this context. Also if a function isn't universal and meant to work in any and all scripts then it shouldn't be declared stock.