Jump to content

Escaping Quotes etc...


al3x8730

Recommended Posts

This might sound like a really stupid question... But for some reason I'm having a problem making what's on this echo:

 

echo '<table><tr><td><b><u>Name</u></b></td><td><b><u>Title</u></b></td><td><b><u>Level</u></b></td><td><b><u>Experience</u><b/></td><td><b><u>Gender</u></b></td></tr>';

 

into a Variable... I know how to backslash things, but it's not working, can anyone do it for me? I'm probably making a stupid mistake lol xD

Link to comment
https://forums.phpfreaks.com/topic/123337-escaping-quotes-etc/
Share on other sites

okay, and your getting an error? what happens when you do use..

 

$content = '<table><tr><td><b><u>Name</u></b></td><td><b><u>Title</u></b></td><td><b><u>Level</u></b></td><td><b><u>Experience</u><b/></td><td><b><u>Gender</u></b></td></tr>';

print $content;

Link to comment
https://forums.phpfreaks.com/topic/123337-escaping-quotes-etc/#findComment-637043
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.