I have a variable(s) that hold the string:
"name"
and I'd like to kill the quotes so it contains:
name
I am aware of the strlen() function but can find the concant
Little Help?
Mike
If you *know* the variable is quoted you could also do:
$new = substr($variable, 1, -1);
I
I have a variable(s) that hold the string:
"name"
and I'd like to kill the quotes so it contains:
name
I am aware of the strlen() function but can find the concant
$newVar = eregi_replace( "\"", "", $varWithAboveData );
Chris
2 matches
Mail list logo