php-general Digest 5 May 2012 22:35:42 -0000 Issue 7802

2012-05-05 Thread php-general-digest-help
php-general Digest 5 May 2012 22:35:42 - Issue 7802 Topics (messages 317793 through 317804): Re: Calculating driving distance between UK postcodes 317793 by: tamouse mailing lists Re: function 317794 by: tamouse mailing lists 317797 by: Jim Giner 317801 by:

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

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

[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 rowsbr; while ($row =

Re: [PHP] I'm missing something

2012-05-05 Thread Matijn Woudt
On Sun, May 6, 2012 at 12:38 AM, Jim Giner jim.gi...@albanyhandball.com 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); ***

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:

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 jim.gi...@albanyhandball.com 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

Re: [PHP] I'm missing something

2012-05-05 Thread Matijn Woudt
On Sun, May 6, 2012 at 12:53 AM, Jim Giner jim.gi...@albanyhandball.com wrote: Yup that was it!  Something I knew would happen during my design, but forgot to code for now. Jim Giner jim.gi...@albanyhandball.com wrote in message news:e2.dc.30075.c6ea5...@pb1.pair.com... My guess would be