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 Ballard wrote: >> On Thu, Jul 16, 2009 at 12:35 PM, Jim Lucas wrote: >>> Andrew Ballard wrote: On Thu, Jul 16, 2009 at 12:25 PM, Jim Lucas wrote: >> [snip] > Also, this is the wrong way to use printf(). Please go read the m

Re: [PHP] Syntax Snag need extra eyes

2009-07-16 Thread Bastien Koert
On Thu, Jul 16, 2009 at 12:43 PM, Andrew Ballard wrote: > On Thu, Jul 16, 2009 at 12:35 PM, Jim Lucas wrote: >> >> Andrew Ballard wrote: >> > On Thu, Jul 16, 2009 at 12:25 PM, Jim Lucas wrote: > [snip] >> >> Also, this is the wrong way to use printf().  Please go read the manual >> >> page for th

Re: [PHP] Syntax Snag need extra eyes

2009-07-16 Thread Andrew Ballard
On Thu, Jul 16, 2009 at 12:35 PM, Jim Lucas wrote: > > Andrew Ballard wrote: > > On Thu, Jul 16, 2009 at 12:25 PM, Jim Lucas wrote: [snip] > >> Also, this is the wrong way to use printf().  Please go read the manual > >> page for this function. > >> > >> Try: > >> > >> printf( > >>        '%s%s',

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" wrote: > > printf( > '%s%s', > $row['name'], > $row['name'], > $row['

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 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 t

Re: [PHP] Syntax Snag need extra eyes

2009-07-16 Thread Andrew Ballard
On Thu, Jul 16, 2009 at 12:25 PM, Jim Lucas 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 please: >

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" wrote: printf( '%s%s', $row['name'], $row['name'], $row['address'] ); -- PHP General Mailing List (ht

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(' href="view.php?name=$row['name']">%s%s',$row['n

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(' href="view.php?name=$row['name']">%s%s',$row['n