Re: [PHP] General Coding Question

2001-06-22 Thread George Whiffen
And what about the third option using single quotes on the outside i.e. print ' 20){print '40';} else {print '20';}?> VALUE= etc.. rather than my normal style which would be : print ' > im here to start a flamewar. > > dont use " then. why not use ' ? > > echo " > >

RE: [PHP] General Coding Question

2001-06-21 Thread Merio, Quinn
I posted the exact same question a while ago, because i know that ASP does slow down when you jump in and out of the asp dll. I tried benchmarking it, and asked my geekiest of geek friends. All results thus far point to the fact that both work just as well. and imho, the alternate syntax is a lo

Re: [PHP] General Coding Question

2001-06-21 Thread Christian Reiniger
On Thursday 21 June 2001 09:31, Ray Hilton wrote: XML allows both single and double quotes for attributes, and XHTML is defined as XML DTD, so it allows it too. > I don’t think that’s XHTML complient... Correct me if im wrong? > > -Original Message- > im here to start a flamewar. > > do

RE: [PHP] General Coding Question

2001-06-21 Thread Ray Hilton
I don’t think that’s XHTML complient... Correct me if im wrong? -Original Message- From: Chris Lee [mailto:[EMAIL PROTECTED]] Sent: 20 June 2001 23:50 To: [EMAIL PROTECTED] Subject: Re: [PHP] General Coding Question im here to start a flamewar. dont use " then. why not use '

RE: [PHP] General Coding Question

2001-06-21 Thread Jason Murray
> this whole bench thing really needs someone to sit down and go "i bet i > could write some code to see in less time then it would take to post ?" dont > get mad, people are allways posting this. > > " is this aster then that ? " > > write some code and see. its very hardware/os dependant. your

RE: [PHP] General Coding Question

2001-06-21 Thread Jason Murray
> You don't use a lot of javascript, do you? Start your JS with \" and end it with \" inside PHP code. No biggie. Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administr

Re: [PHP] General Coding Question

2001-06-20 Thread Peter Dudley
You don't use a lot of javascript, do you? ""Chris Lee"" <[EMAIL PROTECTED]> wrote in message 9gr5f9$v2$[EMAIL PROTECTED]">news:9gr5f9$v2$[EMAIL PROTECTED]... > im here to start a flamewar. > > dont use " then. why not use ' ? > > echo " > >" > > echo " > >" > I like the second

Re: [PHP] General Coding Question

2001-06-20 Thread Chris Lee
im here to start a flamewar. dont use " then. why not use ' ? echo " " echo " " I like the second. it is proper html check it with w3.org. -- Chris Lee [EMAIL PROTECTED] ""scott [gts]"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

RE: [PHP] General Coding Question

2001-06-20 Thread scott [gts]
on pages with mostly HTML code, the second style is much prefereable, but on pages with mostly PHP code, the first style is usually OK. overall, i tend towards the second, becuase it's a pain in the ass to esape all the double-quotes in my HTML, my echo statements usulaly end up looking like thi

Re: [PHP] General Coding Question

2001-06-20 Thread Chris Lee
this whole bench thing really needs someone to sit down and go "i bet i could write some code to see in less time then it would take to post ?" dont get mad, people are allways posting this. " is this aster then that ? " write some code and see. its very hardware/os dependant. your system may be