Array help please?

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

User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Re: Array help please?

Post by superdezign »

That's essentially what I just posted, except you added an extra line before each. It's still very bad practice.
ModusPonens
Forum Newbie
Posts: 13
Joined: Sat Apr 09, 2011 11:57 am

Re: Array help please?

Post by ModusPonens »

Ramblin, you might also try playing with the mysqli class instead of the mysql class. Among other things, it's a little less clunky to step through recordsets with mysqli than mysql. The db is specified within the connection object in mysqli, too. They're little things by themselves, but when you start adding them together, it's just a bit smoother.
Post Reply