al3x8730 Posted September 8, 2008 Share Posted September 8, 2008 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 More sharing options...
Adam Posted September 8, 2008 Share Posted September 8, 2008 Can't see any problem? what happens when you echo it? Link to comment https://forums.phpfreaks.com/topic/123337-escaping-quotes-etc/#findComment-637034 Share on other sites More sharing options...
al3x8730 Posted September 8, 2008 Author Share Posted September 8, 2008 Can't see any problem? what happens when you echo it? No problem, I was to make what's in that echo into a variable. Like: $variable = "whatsontheecho"; Link to comment https://forums.phpfreaks.com/topic/123337-escaping-quotes-etc/#findComment-637037 Share on other sites More sharing options...
Adam Posted September 8, 2008 Share Posted September 8, 2008 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.