koolaid Posted July 22, 2008 Share Posted July 22, 2008 I am sure this is a simple question, but i can't seem to find the answer. I am using php to write xml documents. How do i get php to write a quotation mark into a var without it messing the code up? Example: $varQuotationMark = $_POST["""]; Quote Link to comment https://forums.phpfreaks.com/topic/116038-solved-easy-question-i-need-php-to-write-a-quotation-mark/ Share on other sites More sharing options...
DarkWater Posted July 22, 2008 Share Posted July 22, 2008 \" Quote Link to comment https://forums.phpfreaks.com/topic/116038-solved-easy-question-i-need-php-to-write-a-quotation-mark/#findComment-596658 Share on other sites More sharing options...
koolaid Posted July 22, 2008 Author Share Posted July 22, 2008 Thanks a million told ya it would be easy! Quote Link to comment https://forums.phpfreaks.com/topic/116038-solved-easy-question-i-need-php-to-write-a-quotation-mark/#findComment-596670 Share on other sites More sharing options...
DarkWater Posted July 22, 2008 Share Posted July 22, 2008 Any time. Quote Link to comment https://forums.phpfreaks.com/topic/116038-solved-easy-question-i-need-php-to-write-a-quotation-mark/#findComment-596673 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.