Originally Posted by ViN86
i typically use double quotes and escape them when i want them in the HTML. but single quotes would probably be a better idea.
Double quotes allows you to insert php variables directly in the string without concatenation. Ie.
$var = 'text';
echo "<input type='$var' />";
The php documentation seems to indicate that single quote strings are faster to parse though since the interpreter doesn't need to scan the string for php variables. You can also use double quotes for the php string and use single quotes for the html like above.