$data = file('c:\file.txt');
for($counter = 0; $counter count($data); $counter++)
$data[$counter] = explode(\t,$data[$counter]);
Poof. For:
bob ninajim joe
You will get:
$data[0][0] = 'bob';
$data[0][1] = 'nina';
$data[0][2] = 'jim';
$data[0][3] = 'joe';
Nice and easy to
Looks like the first question was answered correctly, for the second one
look at the ltrim and rtrim functions.
$var = ;
$var = rtrim($var);
echo :$var:;
output is
::
Gary Every
Sr. UNIX Administrator
Ingram Entertainment
(615) 287-4876
Pay It Forward
mailto:[EMAIL PROTECTED]