A guide to PHP learners…. Functions explode() – break strings into array $arr = explode(" ",$arr_temp);