Thanks again John,
I will gif it some testing, and testing until i get it done.
Op 30-jan-04 om 11:04 heeft John Delacour het volgende geschreven:
At 12:37 am +0100 30/1/04, Eelco Alosery wrote:
how do i combine this together
Like this, but now it's time for _you_ to do some footwork :-)
my
At 12:37 am +0100 30/1/04, Eelco Alosery wrote:
how do i combine this together
Like this, but now it's time for _you_ to do some footwork :-)
my $db = "/tmp/tmp";
my ($date, $s1, $s2);
open DB, $db;
for () {
s~^(..)-(..)-()(.+)~$3$2$1$4~;
push @temp, $_ ;
}
for (sort @temp) {
chomp;
s
Thanks John,
And when i use this part to open the data file
open (DATABASE, "$database") || die "Can't Open $klantfile";
while()
{
($date, $text1, $text2) = split(/\|/,$_);
foreach ($date)
{
print <
some html text
ENDOFTEXT
}
}
close (DATABASE);
how do i combine this together
Op
At 11:19 pm +0100 29/1/04, Eelco Alosery wrote:
the strings are formated this way
01-12-2003|some text|soem other text|
03-12-2003|some text|soem other text|
10-12-2003|some text|soem other text|
Then it's very simple:
my @temp;
my @lines = split "\n", <<_;
01-12-2003|some text|soem other text
the strings are formated this way
01-12-2003|some text|soem other text|
03-12-2003|some text|soem other text|
10-12-2003|some text|soem other text|
06-12-2003|some text|soem other text|
04-12-2003|some text|soem other text|
Op 29-jan-04 om 23:01 heeft John Delacour het volgende geschreven:
At 9:0
At 9:06 pm +0100 29/1/04, Eelco Alosery wrote:
I have a data file to where i print lines of data.
The firts part of the line contans the date of writing.
I uese this kind of line:
part1|part2|parst3|
Now i want to display the lines in order of date(the first part) to
a html file
How do i do this
Hello,
I have a data file to where i print lines of data.
The firts part of the line contans the date of writing.
I uese this kind of line:
part1|part2|parst3|
Now i want to display the lines in order of date(the first part) to a
html file
How do i do this whit a cgi script.
Thanks,
Eelco Aloser