Re: [PHP] I'm missing something

2012-05-05 Thread Matijn Woudt
On Sun, May 6, 2012 at 12:53 AM, Jim Giner wrote: > Yup that was it!  Something I knew would happen during my design, but forgot > to code for now. > > ""Jim Giner"" wrote in message > news:e2.dc.30075.c6ea5...@pb1.pair.com... >> >> >> My guess would be that you end up with 2 rows having the same

Re: [PHP] I'm missing something

2012-05-05 Thread Jim Giner
Yup that was it! Something I knew would happen during my design, but forgot to code for now. ""Jim Giner"" wrote in message news:e2.dc.30075.c6ea5...@pb1.pair.com... > > > My guess would be that you end up with 2 rows having the same $nm, > overwriting the value that's already in $plyrnames_ar

Re: [PHP] I'm missing something

2012-05-05 Thread Jim Giner
My guess would be that you end up with 2 rows having the same $nm, overwriting the value that's already in $plyrnames_ar. - Matijn Genius at work! Thanks - I'll look into that. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

Re: [PHP] I'm missing something

2012-05-05 Thread Matijn Woudt
On Sun, May 6, 2012 at 12:38 AM, Jim Giner wrote: > I have a discrepancy in the number of elements in my arrays and can't see > why. > > Here is some code: > Note the lines with the *** > > *** $plyrs = 0; >  unset($plyrnames_ar); >  unset($js_names); >  unset($js_seeds); > *** $rows = mysql_num_r

[PHP] I'm missing something

2012-05-05 Thread Jim Giner
I have a discrepancy in the number of elements in my arrays and can't see why. Here is some code: Note the lines with the *** *** $plyrs = 0; unset($plyrnames_ar); unset($js_names); unset($js_seeds); *** $rows = mysql_num_rows($qrslts); ***echo "in mysql there are $rows rows"; while ($row =

Re: [PHP] PHP & Database Problems -- Code Snippets

2012-05-05 Thread Matijn Woudt
On Thu, May 3, 2012 at 4:20 PM, Ethan Rosenberg wrote: > At 06:47 PM 5/2/2012, Matijn Woudt wrote: >> >> On Wed, May 2, 2012 at 11:43 PM, Ethan Rosenberg >> wrote: > Dear list - > > Sorry for the attachment. Â Here are code snippets >> --- Ethan, I don't want to sound rude, but it appears to me y