Can you add a count digit to the end of a $row->variable?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: Can you add a count digit to the end of a $row->variable

Post by simonmlewis »

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
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
Post Reply