| | Previous and next links a la Brickshelf Bram Lambrecht
| | | Hi all, If I have a comma separated text file of the form: filename.ext,thumbnail width,thumbnail height,img width,img height for example: inside3.jpg,100,75,640,480 over.jpg,100,75,640,480 stairs.jpg,100,64,640,410 tower.jpg,78,100,320,410 (...) (23 years ago, 25-Jul-01, to lugnet.off-topic.geek)
| | | | | | | | Re: Previous and next links a la Brickshelf Dan Boger
| | | | | (...) 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 Bram Lambrecht
| | | | | (...) 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 Bram Lambrecht
| | | | | (...) 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)
| | | | | | |