Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: problem in href and pagination

by chas (Priest)
on Dec 17, 2005 at 15:43 UTC ( #517496=note: print w/ replies, xml ) Need Help??


in reply to problem in href and pagination

"a new page shuld not be loaded . the new data should come in the same page"
You could simulate that using frames, possibly.
A lot of your code doesn't make much sense to me. For example;

for $i (1 .. $total_pages) { if ($i == $page)...
I don't see that $page has ever been defined. You should use warnings; and use strict;, check your code using perl -c yourscript.pl, and some of the obvious errors will be revealed to you.
(Also, if you try to use correct spelling and formatting - like beginning sentences with caps, putting periods or question marks at the ends of sentences, etc, and generally make it look as if you took some care in your posting, you may get more responses, at least IMHO.)


Comment on Re: problem in href and pagination
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://517496]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2014-07-26 03:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls