Re: [PHP] Preferred Syntax

2011-12-15 Thread Tedd Sperling
On Dec 14, 2011, at 12:09 PM, Peter Ford wrote: With respect to tedd and Al, you've misread the question: the important PHP-related bit is about whether to embed variables in double-quoted strings or to concatenate them. These are only two of the options, and each has it's pros and cons.

[PHP] Preferred Syntax

2011-12-14 Thread Rick Dwyer
Hello all. Can someone tell me which of the following is preferred and why? echo a style='text-align:left;size:14;font-weight:bold' href='/ mypage.php/$page_id'$page_name/abr; echo a style='text-align:left;size:14;font-weight:bold' href='/ mypage.php/.$page_id.'.$page_name./abr; When I

Re: [PHP] Preferred Syntax

2011-12-14 Thread Tedd Sperling
On Dec 14, 2011, at 7:59 AM, Rick Dwyer wrote: Hello all. Can someone tell me which of the following is preferred and why? echo a style='text-align:left;size:14;font-weight:bold' href='/mypage.php/$page_id'$page_name/abr; echo a style='text-align:left;size:14;font-weight:bold'

Re: [PHP] Preferred Syntax

2011-12-14 Thread Marc Guay
BBEdit.  Is this just a preference choice or is one method better than the other? As far as I know it's just preference. Your choice of editor could influence your decision; one form might be given nicer highlighting. Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Preferred Syntax

2011-12-14 Thread David Harkness
On Wed, Dec 14, 2011 at 4:59 AM, Rick Dwyer rpdw...@earthlink.net wrote: Can someone tell me which of the following is preferred and why? echo a style='text-align:left;size:**14;font-weight:bold' href='/mypage.php/$page_id'$**page_name/abr; echo a

Re: [PHP] Preferred Syntax

2011-12-14 Thread Tamara Temple
Tedd Sperling tedd.sperl...@gmail.com wrote: On Dec 14, 2011, at 7:59 AM, Rick Dwyer wrote: Hello all. Can someone tell me which of the following is preferred and why? echo a style='text-align:left;size:14;font-weight:bold' href='/mypage.php/$page_id'$page_name/abr; echo a

Re: [PHP] Preferred Syntax

2011-12-14 Thread Robert Cummings
On 11-12-14 01:10 PM, David Harkness wrote: On Wed, Dec 14, 2011 at 4:59 AM, Rick Dwyerrpdw...@earthlink.net wrote: Can someone tell me which of the following is preferred and why? echo a style='text-align:left;size:**14;font-weight:bold' href='/mypage.php/$page_id'$**page_name/abr;

RE: [PHP] Preferred Syntax

2011-12-14 Thread admin
-Original Message- From: Tamara Temple [mailto:tamouse.li...@tamaratemple.com] Sent: Wednesday, December 14, 2011 1:40 PM To: Tedd Sperling Cc: Rick Dwyer; PHP-General Subject: Re: [PHP] Preferred Syntax Tedd Sperling tedd.sperl...@gmail.com wrote: On Dec 14, 2011, at 7:59 AM

Re: [PHP] Preferred Syntax

2011-12-14 Thread Adam Richardson
On Wed, Dec 14, 2011 at 7:59 AM, Rick Dwyer rpdw...@earthlink.net wrote: Hello all. Can someone tell me which of the following is preferred and why? echo a style='text-align:left;size:**14;font-weight:bold' href='/mypage.php/$page_id'$**page_name/abr; echo a

RE: [PHP] Preferred Syntax

2011-12-14 Thread admin
-Original Message- From: Adam Richardson [mailto:simples...@gmail.com] Sent: Wednesday, December 14, 2011 2:19 PM To: Rick Dwyer Cc: PHP-General Subject: Re: [PHP] Preferred Syntax On Wed, Dec 14, 2011 at 7:59 AM, Rick Dwyer rpdw...@earthlink.net wrote: Hello all. Can

Re: [PHP] Preferred Syntax

2011-12-14 Thread Rick Dwyer
On Dec 14, 2011, at 1:53 PM, ad...@buskirkgraphics.com ad...@buskirkgraphics.com wrote: The key thing to remember here is that this is a preference and not a performance thing. Thank you... this is basically what I wanted to know. I was concerned that not breaking the VARS out separately