Re: Speeding question, " vs '
- From: Guillaume <ggrason@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 30 Apr 2008 15:45:33 +0200
jodleren a écrit :
What do you do?
I almost always use single quotes, because of those variables not treated, if I want to include one I explicitely do it.
Almost, cause I use double quotes in SQL queries, where I use single quote for value statements (and always use curly brackets for variables, which makes it clearer imo to delimitate the variable names)
"INSERT INTO dummy (name) VALUES ('{$name}')"
Regards,
--
Guillaume
.
- References:
- Speeding question, " vs '
- From: jodleren
- Speeding question, " vs '
- Prev by Date: Re: IS a PHP programmer typing <?php ?> most of the time when he is at work?
- Next by Date: Re: IS a PHP programmer typing <?php ?> most of the time when he is at work?
- Previous by thread: Re: Speeding question, " vs '
- Next by thread: iframe shows in Mozilla, but not in IE
- Index(es):