Re: Can you add a count digit to the end of a $row->variable
Posted: Mon Feb 18, 2013 5:26 pm
I've actually shown all the code here that does this part of the page - if I showed ALL the code from the entire page, I'd get a million questions of what each part does, which are completely unconnected with this.
I don't know the difference between assoc and objects, sorry.
The error was actually in the "counts". I found it. I needed the romancount at the top, but in the central bit of "xinclude", that should have just been a "$count" with it's own "++".
I was brought up on Objects, and that always seems to work for me. Maybe arrays are faster and easier on the server? I don't know. If you could convert what I have done into an array, then I could see how it works. But I appreciate that you may not have the time to do this.
Simon
I don't know the difference between assoc and objects, sorry.
The error was actually in the "counts". I found it. I needed the romancount at the top, but in the central bit of "xinclude", that should have just been a "$count" with it's own "++".
I was brought up on Objects, and that always seems to work for me. Maybe arrays are faster and easier on the server? I don't know. If you could convert what I have done into an array, then I could see how it works. But I appreciate that you may not have the time to do this.
Simon