I'm working on function like this one:
function foo() {
return '[ = ]';
}
But this returns:
[ @ ]
And I need:
[ = ]
Any ideas?
I'm working on function like this one:
function foo() {
return '[ = ]';
}
But this returns:
[ @ ]
And I need:
[ = ]
Any ideas?
You could either call htmlspecialchars
on your string before you output it, or you could simply replace the &
in your string with a &
.
Either one will make a browser show =
instead of @
.