Jump to content

[SOLVED] proper passing of '&' in text field


damerit

Recommended Posts

Problem: The below code of field "callersCompany" chops off the remaining fields when there is an '&' sign. For example, "Smith & Wesson". Everything after Smith is lost.

 

Question: What php method would solve this? Or, how could I handle the passing of the '&' sign? I tried htmlspecialchars().

$fccmail=$chkemail."?importance=High&subject=".$notifTsubj." ".$row_Record['callersCompany']." - ".$row_Record['callerCity'].", ".$row_Record['callerStateProv']." - ".$row_Record['pType']." - ".$row_Record['sType']."&"

 

Thanks.

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.