Jump to content

echo problem how to include an ' in line


essjay_d12

Recommended Posts

[code] echo ' My Company\'s information';[/code]
or
[code] echo "My Company's information";[/code]

[!--quoteo(post=378428:date=May 30 2006, 07:43 PM:name=Essjay_d12)--][div class=\'quotetop\']QUOTE(Essjay_d12 @ May 30 2006, 07:43 PM) [snapback]378428[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Hi,

I want to echo out the following...

echo ' My Company's information';

but because there's an ' included PHP picks up an error.

How can i include an '

Thanks

D
[/quote]

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.