Thanks for reading. I'm looking for some advice. In regards to escaping quotes in a variable, is the following okay to do in place of the second code?
$variable = '<div class="box">User\'s Info</div>';
$variable = "<div class=\"box\">User's Info</div>";
Is the first code the best practice? Do you have a better suggestion? Any advice is appreciated.