Re: [PHP] " " charactor problem

2001-01-21 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Rick Ridgeway) wrote: > > > I grab this line and try to make it an array like this: > > print "line: $thelinefromfile\n"; //Check the line > > > $var1 = trim($thelinefromfile); > > > $var2 = split(" ", $thelinefromfile); > > > $count = cou

Re: [PHP] " " charactor problem

2001-01-21 Thread Rick Ridgeway
Sean Cazzell wrote: > > I grab this line and try to make it an array like this: > print "line: $thelinefromfile\n"; //Check the line > > $var1 = trim($thelinefromfile); > > $var2 = split(" ", $thelinefromfile); > > $count = count($var2); > > Are you sure $thelinefromfile is actually being s

Re: [PHP] " " charactor problem

2001-01-20 Thread Sean Cazzell
> I grab this line and try to make it an array like this: print "line: $thelinefromfile\n"; //Check the line > $var1 = trim($thelinefromfile); > $var2 = split(" ", $thelinefromfile); > $count = count($var2); Are you sure $thelinefromfile is actually being set correctly? Regards, Sean -

[PHP] " " charactor problem

2001-01-20 Thread Rick Ridgeway
im trying to build an array from an entry in a file and im having some trouble with it. in a file i have a line similar to: 1234 hello 123456 12345678 I grab this line and try to make it an array like this: $var1 = trim($thelinefromfile); $var2 = split(" ", $thelinefromfile); $count = count($var