View Single Post
Old 05-04-2009, 09:29 PM  
qwe
Confirmed User
 
Join Date: Jul 2003
Posts: 2,109
Quote:
Originally Posted by d-null View Post
if I understand what you are asking for, this will do it nicely:

Code:
<?php 
if ( ( $file = file( "file.txt" ) ) !== false ) 
{ 
    foreach( $file as $line ) 
    { 
        if (ctype_alpha($line{0}))
		
        { 
              echo $line . "<br>"; 
             
        } 
    } 
} 
?>
ya that's what I was looking for, thanks alot bro
qwe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote