PHP: Convert variable to array -
i'm trying convert variable array , split each character using php.
so have variable $name = 'john smith';
how convert to:
array('j','o','h','n',' ','s','m','i','t','h');
notice space between john , smith well.
thank you.
there's str_split
that.
Comments
Post a Comment