Jump to content

apostrophes


phpretard

Recommended Posts

I am pulling info from a DB and emailing it based on variable names.

 

Randal's Appraisals, LLC <--EXAMPLE

 

When it gets emailed the company name stops at the apostrophe.

 

So the "From" Line in the Email reads "Randal".

 

Any other company names works great. 

 

So I guess the question is how can I get the PHP variable to (for lack of better words) ignore and still print the apostrophe?

 

I think the only real significant script is:

 

$mail->FromName   = "$CompanyName";

 

If you need more please let me know...

 

Thanks.

 

Link to comment
https://forums.phpfreaks.com/topic/124159-apostrophes/
Share on other sites

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.