Home >> PHP - MySQL Getting Start PHP with example codes - 1.1 [Page 3] Article by: Shelton Manage Thursday, 21st May, 2009
Looking for an Escape
As you might discover, one of the comlications with sending data to the Web involeves printing single and double quatation marks.
echo "She said, "How are you?""; print 'I'm just fine.'; echo 'She said, "How are you?"'; print "I'm just fine."; echo "She said, \"How are you?\""; print 'I\'m just fine.';
Ex: quotation_mark.phps | quotation_mark.php
Page: First - 1 2 3 4 - Last
|
|