saiz66 Posted September 28, 2004 Share Posted September 28, 2004 If I have a variable such as username = {abc def ghi} Is there a way I could evaluate each of these names separately? For example, I wanted to echo each of the 3 seperate, echo "abc", echo "def" and echo "ghi".. Any ideas? Link to comment Share on other sites More sharing options...
0 kjordan2001 Posted September 29, 2004 Share Posted September 29, 2004 foreach i ($username) echo $i end Link to comment Share on other sites More sharing options...
Question
saiz66
If I have a variable such as username = {abc def ghi} Is there a way I could evaluate each of these names separately? For example, I wanted to echo each of the 3 seperate, echo "abc", echo "def" and echo "ghi".. Any ideas?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts