Jump to content

Escaping the # sign - please help!!!


ekgartdirector

Recommended Posts

To anyone that can help!

 

I have built a online magazine subscription application. The final process of my application is to transfer someone to paypal with the correct price. The price gets calculated by the user's address(province/country). When someone enters a "#" into the address input field the prize doesn't reflect properly. The value gets stored correctly. For example if you entered "Rosethorn crescent #3" it goes into the database exactly like that but then the price doesnt get reflected properly.

I was hoping someone could help me figure out a way to remove the # signs from the value before it gets stored into the database.

 

Please help!

 

Thanks,

Mike

Link to comment
https://forums.phpfreaks.com/topic/126758-escaping-the-sign-please-help/
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.