tony wrote:
I'm new to php,
and i tried file() no luck
$lines = file('$filename');
foreach ($lines as $line_num => $line) {
print ("$line");
}
$lines = file ( "$filename" );
$size = sizeof ( $lines );
for ( $i = 0; $i < $size; $i++ ) {
echo ( '' . $lines[$i] . '"' );
}
http://us2.php.net/m
I use to do this:
$lines=file($filename);
$num_lines=count($lines);
for($i=0;$i<$num_lines;$i++)echo ''.$lines[$i].'';
--
// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail: dvdmandt¤telia.com
"Tony" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> I'm new to php,
> and i tried file() no
I'm new to php,
and i tried file() no luck
$lines = file('$filename');
foreach ($lines as $line_num => $line) {
print ("$line");
}
thanx for the help
"Dvdmandt" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Did you try file(); ?
>
> --
> // DvDmanDT
> MSN: dvdmandt¤hotmail.co
Did you try file(); ?
--
// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail: dvdmandt¤telia.com
"Tony" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> hi,
>
> i have problem with writing a reading to file
> i want to write emails in files. like this
> [EMAIL PROTECTED]
> [EMAIL PROTECTED
4 matches
Mail list logo