Your description is i bit blurry. Do you want to split the text into seperate letters and store each in a seperate variable, like in an array?
Lets say you've got the text 'Hello wolrd!'. Do you want this?
PHP Code:
$myLetters = array('H', 'e', 'l', 'l', 'o', ' ', 'W', 'o', 'r', 'l', 'd', '!');
If so, this should to the trick.
PHP Code:
$myText = 'Hello World!'; // From your text field, or other source $myLetters = array(); for ($i = 0; $i < strlen($yourText); $i++) { $myLetters[] = $myText{$i}; }
EDIT: Ah, you got before me Matt 
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
Last edited by lizciz; 03-30-2009 at 11:30 AM..
|