RE: [PHP] Syntax Snag need extra eyes

2009-07-16 Thread Bob McConnell
From: Miller, Terion I'm almost there with my little pagination script but now I'm hung on the Unexpected T_Variable error...which in the past has been a semi-colon missing so I'm not sure why this is throwing it...eyes please: printf('a

Re: [PHP] Syntax Snag need extra eyes

2009-07-16 Thread Jim Lucas
Miller, Terion wrote: I'm almost there with my little pagination script but now I'm hung on the Unexpected T_Variable error...which in the past has been a semi-colon missing so I'm not sure why this is throwing it...eyes please: printf('a

Re: [PHP] Syntax Snag need extra eyes (RESOLVED)

2009-07-16 Thread Miller, Terion
Thanks Jim!! I did read the manual and don't get it, like why is printf used and not echo...how do you decided which to use? On 7/16/09 11:25 AM, Jim Lucas li...@cmsws.com wrote: printf( 'a href=view.php?name=%sb%s/bbr /%sbr /br //a', $row['name'], $row['name'],

Re: [PHP] Syntax Snag need extra eyes

2009-07-16 Thread Andrew Ballard
On Thu, Jul 16, 2009 at 12:25 PM, Jim Lucas li...@cmsws.com wrote: Miller, Terion wrote: I'm almost there with my little pagination script but now I'm hung on the Unexpected T_Variable error...which in the past has been a semi-colon missing so I'm not sure why this is throwing it...eyes

Re: [PHP] Syntax Snag need extra eyes

2009-07-16 Thread Jim Lucas
Andrew Ballard wrote: On Thu, Jul 16, 2009 at 12:25 PM, Jim Lucas li...@cmsws.com wrote: Miller, Terion wrote: I'm almost there with my little pagination script but now I'm hung on the Unexpected T_Variable error...which in the past has been a semi-colon missing so I'm not sure why this is

Re: [PHP] Syntax Snag need extra eyes (RESOLVED)

2009-07-16 Thread Jim Lucas
Miller, Terion wrote: Thanks Jim!! I did read the manual and don't get it, like why is printf used and not echo...how do you decided which to use? On 7/16/09 11:25 AM, Jim Lucas li...@cmsws.com wrote: printf( 'a href=view.php?name=%sb%s/bbr /%sbr /br //a',

Re: [PHP] Syntax Snag need extra eyes

2009-07-16 Thread Bastien Koert
On Thu, Jul 16, 2009 at 12:43 PM, Andrew Ballardaball...@gmail.com wrote: On Thu, Jul 16, 2009 at 12:35 PM, Jim Lucas li...@cmsws.com wrote: Andrew Ballard wrote: On Thu, Jul 16, 2009 at 12:25 PM, Jim Lucas li...@cmsws.com wrote: [snip] Also, this is the wrong way to use printf().  Please

Re: [PHP] Syntax Snag need extra eyes

2009-07-16 Thread Jim Lucas
Bastien Koert wrote: On Thu, Jul 16, 2009 at 12:43 PM, Andrew Ballardaball...@gmail.com wrote: On Thu, Jul 16, 2009 at 12:35 PM, Jim Lucas li...@cmsws.com wrote: Andrew Ballard wrote: On Thu, Jul 16, 2009 at 12:25 PM, Jim Lucas li...@cmsws.com wrote: [snip] Also, this is the wrong way to use