- Original Message -
From: "1LT John W. Holmes" <[EMAIL PROTECTED]>
To: "Kevin Stone" <[EMAIL PROTECTED]>; "WebDev" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 2:06 PM
Subject: Re: [PHP] reading last -n line
> Holy crap looks like I was wrong! I just tested it and sure enough '|'
does
> return an error.. how do you like that. So use split("\|", $file[$i]).
For a regular expression "|" means OR. You could use explode("|",$file[$i])
for the sam effect. Benchmark split() vs. explode() and see which is
-
From: Kevin Stone <[EMAIL PROTECTED]>
To: Kevin Stone <[EMAIL PROTECTED]>; WebDev <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 12:55 PM
Subject: Re: [PHP] reading last -n lines array is emty
> Holy crap looks like I was wrong! I jus
L PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 1:50 PM
Subject: Re: [PHP] reading last -n lines array is emty
> Sorry that should be $file[$i] not $line[$i]. I failed to see your other
> mistake. Just trust me on the '|' thing.
> - Kevin
>
> -
nt: Thursday, March 06, 2003 4:44 PM
Subject: Re: [PHP] reading last -n lines array is emty
> If I remove the "/" then I get this error
>
> Warning: bad regular expression for split() in
> /home/virtual/browse/home/httpd/html/Classifieds/infobox2.php on line 14
>
>
ROTECTED]>
Sent: Thursday, March 06, 2003 12:40 PM
Subject: Re: [PHP] reading last -n lines array is emty
> No you did not do it as I described.
>
> Here's what I wrote:
> split('|', $line[$i]);
>
> Here's what you wrote:
> split('\|', $line[
Kevin
- Original Message -
From: "WebDev" <[EMAIL PROTECTED]>
To: "Kevin Stone" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 4:33 PM
Subject: Re: [PHP] reading last -n lines array is emty
> still empty
>
>
Original Message -
From: Kevin Stone <[EMAIL PROTECTED]>
To: browseabit <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 12:15 PM
Subject: Re: [PHP] reading last -n lines array is emty
> $buffer is undefined in your code. Do split('|', $line[$i]);
> - Kev
On Friday 07 March 2003 07:09, WebDev wrote:
> I again have no values in my list names $adnr, $user, $date, $listed,
> $hlong, $eins, $zwei, . themn are always emty no matter what I do with
> your code my code
> $dreidrei, $dreivier, $dreifunf, $dreisechs ) = split ("\|", $buffer);
That's bec
utton=on&db_id=$adnr&query=retrieval\"
target=\"_blanko\">$Endzwei $End3";
}
// Code end
- Original Message -
From: Kevin Stone <[EMAIL PROTECTED]>
To: WebDev <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 11:42 AM
Su
riginal Message -
From: "WebDev" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 3:24 PM
Subject: [PHP] reading last -n lines array is emty
How to grab the last -n lines from a data file and display the stored data
Only the the last 10 line numb
How to grab the last -n lines from a data file and display the stored data
Only the the last 10 line numbers coming back when I echo $i
How do I get the list($adnr, $user, $date, $listed to catch the datafields
datafile looks like
23|Werner|LastN|Street|etc|etc.|etc||
24|Veronika
/
How to grab the last -n lines from a data file and display the stored data
Only the the last 10 line numbers coming back when I echo $i
How do I get the list($adnr, $user, $date, $listed to catch the datafields
datafile looks like
23|Werner|LastN|Street|etc|etc.|etc||
24|Veronika
/
How to grab the last -n lines from a data file and display the stored data
Only the the last 10 line numbers coming back when I echo $i
How do I get the list($adnr, $user, $date, $listed to catch the datafields
datafile looks like
23|Werner|LastN|Street|etc|etc.|etc||
24|Veronika
/
14 matches
Mail list logo