Pound Sign ile PHP kodlama sorunu

0 Cevap php

I am retrieving a variable that contains a £ sign from another page. I want to remove this and I have tried using str_replace but I am left with the following:

100.

$amount = str_replace('£', '', $amount);

Herhangi bir fikir?

0 Cevap