Reputation: 61
I'm using $_GET to show some parameters from my URL on page. Everything works fine but one parameter - totalprice. For example in this URL:
On the page I use: echo $_GET['totalprice']
And it should be $1,995.00 but all I get is ,995.00
Is there another way to get the parameter it will recognize there is a $ sign and a number after it?
Upvotes: 0
Views: 189
Reputation: 61
It seem to be an issue with the WP plugin I used to put PHP inside the page (Insert PHP). I switched to another one - (URL Params) and it seem to work fine. Thanks
Upvotes: 2