Select * From Variable help

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
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Select * From Variable help

Post by requinix »

You have two nested loops that get everything from the $myclientname table: one sorts it by id, one without any sorting. Basically, for every entry in $myclientname you'll print everything in $myclientname. Two entries, two printouts. Ten entries, ten printouts.

Get rid of one of the loops. Probably the outermost one.
TheBrandon
Forum Commoner
Posts: 87
Joined: Tue May 20, 2008 8:55 am

Re: Select * From Variable help

Post by TheBrandon »

Thank you. That fixed it and I understand why it didn't work.

Thank you very much for your help today. If you're ever in Northwest Florida, send me a PM. I owe you a drink. :)
Post Reply