It was Monday, November 17, 2003 when A L took the soap box, saying:
: Hi Everyone at [EMAIL PROTECTED], Threre are two main questions:
: 1. How can I get to make results from mysql db to be displayed on web
:    browser with pagination? Meaning, when there are too many results
:    from the db, it only displays 20 results at a time-like that of
:    google-and show links to rest of the results by giving page
:    numbers. I've used Data::Page module from CPAN, but I can only get
:    it to print out the result to the web statically without giving
:    links to other pages and all the results are still displayed on
:    one page when there should be 33 pages or more (the total pages
:    number changes as more stuff are added to the db). Also,
:    DBIx::Pager from CPAN was looked (I'm still working on it to
:    work), but it doesn't seem like it is not going to do what I'm
:    expecting. Am I looking at the right places? If not, will you tell
:    me what I should be looking at?

You're not too far off. I'd suggest looking at Class::DBI,
Class::DBI::mysql, and Class::DBI::Pager. They should help a lot.

: 2.  I'm trying to creat the select all button and deselect all button
:     in one button. Meaning, when I click on the button, it selects all
:     the checkboxes displayed and turns to deselect all button; when I
:     click on the button, again, with all the check boxes checked, I
:     uncheck all the boxes and return the button to select all button.
:     When I search for this on the web, most of them give javascript
:     results. I would like to use Perl. Is it possible to do this with
:     Perl? If so, what should I be looking at? At CPAN, only thing that
:     results is toc and cgi where I couldn't get what I'm looking for?
:     Have I not looked carefully and missed something?

Client side, you want Javascript.

If you really want to cluge through a request to the webserver, you'll
have to deal with CGI's param()s to do what you want.

  Casey West

-- 
There are two major products that come out of Berkeley: LSD and
UNIX. We don't believe this to be a coincidence. 
 -- Jeremy S. Anderson


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to