To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 3226
  Re: Previous and next links a la Brickshelf
 
(...) hmmm... dunno php, but try this in perl: #!/usr/bin/perl -w $current = shift; $prev = ''; $next = ''; while (<>) { ($name) = split /,/; if ($name eq $current) { $next = <>; ($next) = split /,/, $next; last; } $prev = $name; } this is untested, (...) (23 years ago, 25-Jul-01, to lugnet.off-topic.geek)
 
  Re: Previous and next links a la Brickshelf
 
(...) I dunno PHP either, but it's very easy to learn as you go along. (...) Thanks once again, Dan. I should have thought of that myself. And it's easy to translate into just about any language. --Bram (23 years ago, 25-Jul-01, to lugnet.off-topic.geek)
 
  Re: Previous and next links a la Brickshelf
 
(...) Well, I'm done creating all the PHP scripts for my "new" website (except a search engine...but that'll come when I have more time) All that remains is to put it all together... and then my website will finally be as easy to update as uploading (...) (23 years ago, 25-Jul-01, to lugnet.off-topic.geek)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR