I can't find the proper explanation for this script:
$output = "<ol class=\"category\">";
what does this slash do?
It's an 'escape character'. Because a " has special meaning in most programming languages (ie start/end of text string), when you want to include a " in that text string, you need some way to tell the computer ‘No, this really is a ", it isn't the end of the string’, and you do that by putting a \ before it.
this should be added in other definitions. Awesome. Thanks!
This topic is now closed. New replies are no longer allowed.