I am generating radio buttons based on an XML config values. Sometimes they have apostrophes in the text. When manipulating this data in PHP, I seem to lose everything after
I usually stick with those 2 easy options, both equally efficient:
$var = " here single quotes ' are encapsulated in double quotes";
$var = 'here double quotes " are encapsulated in single quotes';
$var = "just quote some mathematician: \"quot erat demonstrandum\".";