Welcome Guest, Not a member yet? Register   Sign In
When it comes to echoing or setting do you prefer ' or "
#11

[eluser]Craig A Rodway[/eluser]
It does. But I read somewhere that curly braces was quicker - I just can't find the site again that seemed to think it was. Smile
#12

[eluser]wiredesignz[/eluser]
But if I take off my braces my pants will fall down. Tongue
#13

[eluser]Sarre[/eluser]
Combined with a too heavy pageload, you might not make it to the little room :ohh:

:-p
#14

[eluser]Michael Wales[/eluser]
I use single quotes and concatenations unless I need a newline, tab character, or CI's routing.

Code:
$str = 'World';
$str2 = 'Hello ' . $str;
$str3 = $str2 . "\n";
$route['page/:any'] = "page/view/$1";




Theme © iAndrew 2016 - Forum software by © MyBB