Page 2 of 2

Re: Select * From Variable help

Posted: Fri Oct 24, 2008 3:27 pm
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.

Re: Select * From Variable help

Posted: Fri Oct 24, 2008 3:38 pm
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. :)