11-11-2015, 10:47 AM
Yeah, I saw that. Basically pquery stands for 'prepared query' I presume?
Anyway, I do not understand the array parameter. I saw the $params in the pquery method but I dont understand it. There is a call to a method 'Execute' also in the method, but I couldn't find it anywhere else in the class. Is it a standard PHP method? I found something like this on PHP.net, but lower capped, not 'Execute', but 'execute'. Anyway, the
will get me all rows then?
I've been using Smarty for a couple of years, so I'm a little familiar with the loop concept. I'll study your 'while' construction and try some different ways just to understand them better and why you would prefer the one you gave me, thanks for the help so far.
Anyway, I do not understand the array parameter. I saw the $params in the pquery method but I dont understand it. There is a call to a method 'Execute' also in the method, but I couldn't find it anywhere else in the class. Is it a standard PHP method? I found something like this on PHP.net, but lower capped, not 'Execute', but 'execute'. Anyway, the
Code:
where invoiceid=?
I've been using Smarty for a couple of years, so I'm a little familiar with the loop concept. I'll study your 'while' construction and try some different ways just to understand them better and why you would prefer the one you gave me, thanks for the help so far.