OK here's how it looks:
echo ereg_replace("n","s","Test 1")
// Tent 1
echo ereg_replace("[[:space:]]","+","Test 1")
// Test+1
$this->value = "Test 1"
echo ereg_replace("n","s",$this->value)
// Tent&nbnp;1
echo ereg_replace("[[:space:]]","+",$this->value)
// Test 1
I think I understand why the 3rd output is like it is, but I just can't figure out why I can't get the space to replace with a '+' in the fourth example.
Grateful as always, in advance, yours truly, evermore, wash your socks, et al, in factum est, hic! :queasy: