PHP-I need to use the explode function for white spaces in the $str, after loading content of txt file to $str.But it dont seem to work well : $filename='acct.txt';
$str=file_get_contents($filename);

print_r (explode("\t",$str));
Output
Array ( [0] => 101 [1] => 345.23 102 [2] => 43.2 103 [3] => 0 104 [4] => 33 )

print_r (explode(" ",$str));
output
Array ( [0] => 101 [1] => 345.23 102 [2] => 43.2 103 [3] => 0 104 [4] => 33 ) 

file contains this:
101	345.23
102	43.2
103	0
104	33


How should I change it to get one element at a time:
ie:
Array ( [0] => 101 [1] => 345.23  [2] => 102 ....[8]=>33) 
Thanks for any Help!

