Path: chuka.playstation.co.uk!news From: "Chris Wallace" Newsgroups: scee.yaroze.freetalk.english Subject: Help!!! (PHP and mySQL) Date: Wed, 20 Nov 2002 16:04:52 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 19 Message-ID: NNTP-Posting-Host: host217-35-8-203.in-addr.btopenworld.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 ok, ive been working on a project (www.wormscc.com/clanwars) the basic idea was that you play games on worms and report them on the site to capture land from enemies. There are 8 islands, on each island up to 20 or so areas and 14 clans or so. Everything seems to be working fine apart from one piece. This page scans every clan, for every clan it looks at every island, and for every island it looks at every areas and giving that clan the money from that area if it matches. The problem is that if i were owed say 150 credits, the code seems to spit out over 1500 credits instread. The money is in proportion but wrong! I have included the page that runs the code. I would realy appreciate it if some1 could take a look. In the mean time i will look into other ways of doing it but im on an evil deadline as it was released yesterday and people want to be able to play!!! Cheers, Chris