Example:
The following variables are brought in from a database:
$name = 'John+Doe';
$street = '123+Your+Street'
$city = 'Fort+Lauderdale'
how do I write a script so that the + is replaced with a space for each of the variables and placed back in the same variables so that:
$name = 'John Doe';
$street = '123 Your Street'
$city = 'Fort Lauderdale'
The following variables are brought in from a database:
$name = 'John+Doe';
$street = '123+Your+Street'
$city = 'Fort+Lauderdale'
how do I write a script so that the + is replaced with a space for each of the variables and placed back in the same variables so that:
$name = 'John Doe';
$street = '123 Your Street'
$city = 'Fort Lauderdale'