TOP TECH
  Learn How to.....
Welcome IT Related Articles Member Area  |  Sign In  |  Sign Up
.: Home :.
General
HTML
CSS
PHP
PHP-MySQL
FrontPage
Photoshop
CorelDRAW
PageMaker
MS Office
VisualBasic
All
.

.: Home :.

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

 



Comments


© 2009 Top Sri Lanka Top Tech.
Articles Manager β - Script by: DynamicCodes.com