MESSAGE
DATE | 2009-07-15 |
FROM | Ruben Safir
|
SUBJECT | Re: [NYLXS - HANGOUT] Perl Toe jam
|
On Tue, Jul 14, 2009 at 04:00:09PM -0700, Elfen Magix wrote: > For months (on and off) I have been working on my own little project utilizing a simple search script within a database. I deleted some code and worked on it, improving bits here and there... now I need a tiny routine that I have forgotten how to do... > > Currently, the search script dumps what it finds on the database on a single page with line breaks between entries. I need it pagenate the results into linkable pages. I can do this with the example url: http://search.cgi?searchstring=string&page=(a number). > > Everything is currently dumped into 1 variable. How do I break up that variable into separate 10 entry linkable pages? Actually the breaking up is more important, for I can figure out the rest to finish this. The project is about 90% done and this is the only thing holding it back. > > > I'm not sure I know exactly what your doing bt for starters you need to use split to break up the lines.
As for identifying URLS and creating links - look up the perl faq on urls
Ruben
>
|
|