Re[3]: [PHP] Having problems with a while loop

2004-01-01 Thread Tom Rogers
Hi, Friday, January 2, 2004, 3:56:35 AM, you wrote: RK> Ok I changed it to look this way but it still is not working RK> $filenum="test"; RK> $fpHt = fopen($filenum, "r"); RK> while(feof($fpHt)) { RK> $fpLine = fgets($fpHt,512); RK> $fpLine = trim($fpLine); RK> $fpData = explode(":", $fpLine); R

Re[3]: [PHP] Having problems with a while loop

2004-01-01 Thread Richard Davey
Hello Richard, Thursday, January 1, 2004, 5:56:35 PM, you wrote: RK> Ok I changed it to look this way but it still is not working RK> $filenum="test"; RK> $fpHt = fopen($filenum, "r"); RK> while(feof($fpHt)) { RK> $fpLine = fgets($fpHt,512); RK> $fpLine = trim($fpLine); RK> $fpData = explode(":",