OK heres an easy one, for everyone else.. say $buff contains "blah" how would i take the '' out of there so $buff contains "blah"
Use substr()
Like in your example you would do something like that.
$buff = "blah"; $buff = substr($buff, 1);
echo $buff; //returns "blah"
Read about substr() here. http://www.php.net/manual/function.substr.php
Also remember that strings are actually arrays of characters so
$blah[0] is the first character in the $blah string.
More of an FYI than anything.. Hjalti's suggestion will do what you want.