displaying multiple search results

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Help please

I enclose my code examples of two pages.  One to gert search data from a
user which uis POSTed to the second page where it's validated and displayed.

The prev/next only works for the first 20 records.

When i click next, my page reloads and re applies my validation rules and
outputs the error messages to the user asking for valid input.

What am i doing wromng???

Thanks for any help




begin 666 myquery.txt
M/#\-"B\O+R\O+R\O+R\O+R\O+R\O+R\O+R\@("!004=%(#$@(" O+R\O+R\O
M+R\-"B\O(&1A=&$@96YT<GD@9F]R;2XN+G!A9V4@;F%M92 B9&%T85]E;G1R
M>2YP:' B#0H-"B\O(&5X=')A8W0@;V8@=&AE(&1A=&$@9F]R;2XN=&AE<F4@
M87)E(&UO<F4@9FEE;&1S(&EN(')E86QI='D-"@DD9F]R;2 ](CQ"4CX\8V5N
M=&5R/CQT86)L92!W:61T:" ](%PB-C P7"(@/$)2/B \9F]R;2!N86UE(#U<
M(F9O<FU<(B!M971H;V0@/2=P;W-T)R!A8W1I;VX])W)E<W5L=',N<&AP)SXB
M.PT*"21F;W)M("X](CQ"4CY%;G1E<B!Y;W5R('-E87)C:"!C<FET97)I82!I
M;B!T:&4@9FEE;&1S(&)E;&]W+B([#0H))&9O<FTN/2(\<#Y3=7)N86UE.B @
M(" @(CL-"@DD9F]R;2X](CQB<CX\:6YP=70@='EP93U<(G1E>'1<(B!N86UE
M/5PB<W5R;F%M95PB('-I>F4]7"(V-5PB(&UA>&QE;F=T:#U<(C4P7"(B.PT*
M"21F;W)M+CTB=F%L=64]7"(D<W5R;F%M95PB/B9N8G-P.R9N8G-P.R9N8G-P
M.R9N8G-P.R9N8G-P.R9N8G-P.R9N8G-P.R([#0H))&9O<FTN/2(\8G(^1FER
M<W1N86UE.B @(CL-"@DD9F]R;2X](CQB<CX\:6YP=70@='EP93U<(G1E>'1<
M(B!N86UE/5PB9FER<W1N86UE7"(@<VEZ93U<(C8U7"(@;6%X;&5N9W1H/5PB
M-3!<(B([#0H))&9O<FTN/2)V86QU93U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0E[( DD86YD(#T@(B(["7T-"@D)8VAE8VM?<W1A<B@D<W5R;F%M92P@
M)&%N9"P@)'!A<G0L(")S=7)N86UE(B I.R\O(&9U;F-T:6]N('1O(&-R96%T
M92!T:&4@<75E<GD-"@D)?0T*#0H-"B\O('1H:7,@:7,@86X@97AA;7!L92!O
M9B!H;W<@:2!B=6EL9"!T:&4@979E;G1U86P@<75E<GDN("!497-T<R!T;R!S
M964@=VAA="!F:65L9',@:&%V92!B965N(&-O;7!L971E9"XN#0HO+R!A;F0@
M8V]N<W1A;G1L>2!A9&1S('1O('1H92!Q=65R>2!S=')I;F<L(&5V96YT=6%L
M;'D@<')O9'5C:6YG(&$@=F%L:60@)'%U97)Y+@T*+R\@92YG(%-%3$5#5" J
M($923TT@;7E486)L92!72$5212!S=7)N86UE(#T@)W1E<W13=7)N86UE)R!A
M;F0@9FER<W1N86UE(#T@)W1E<W1&:7)S=&YA;64G(&%N9"!E;6%I;" ]("=T
M97-T16UA:6PG(&5T8PT*#0HO+R!F<F]M(&AE<F4@;VX@:7,@=VAE<F4@22!I
M;G-E<G1E9"!T:&4@<V%M<&QE(&-O9&4@=&\@=')Y(&%N9"!D:7-P;&%Y(')E
M<W5L=',@:6X@8FQO8VMS('5S:6YG(%!2158@86YD($Y%6%0L(&%N9"!I="=S
M(&AE<F4@:2!S=')U9V=L90T*("1L:6UI=#TR,#L@#0H@(" @(" @(" @(" D
M4')E=B ](")0<F5V:6]U<R([( T*(" @(" @(" @(" @)$YE>'0@/2 B3F5X
M="([( T*#0H@(" @(" @(" @(" D;G5M<F5S=6QT<SUM>7-Q;%]Q=65R>2@D
M<75E<GDI.R -"@D)"65C:&\H(DY532!215-53%0@)&YU;7)E<W5L=',B*3L-
M"B @(" @(" @(" @("1N=6UR;W=S/6UY<W%L7VYU;5]R;W=S*"1N=6UR97-U
M;'1S*3L@#0H-"B @(" @(" @(" @(&EF("AE;7!T>2@D;V9F<V5T*2D@>R -
M"B @(" @(" @(" @("1O9F9S970],#L@#0H@(" @(" @(" @("!]( T*#0H-
M"B @(" @(" @(" @(&5C:&\@(CQT86)L92!W:61T:#TQ,# E(&)G8V]L;W(]
M(T9&1D9&1B!B;W)D97(],"!C96QL<&%D9&EN9STR( T*(" @(" @(" @(" @
M8V5L;'-P86-I;F<],CXB.R -"@D)"21S<6P@/2 D<75E<GD[( T*"0D)96-H
M;R@B)%-13"!)4R D<W%L(BD[#0H@(" @(" @(" @(" D<W%L("X]("(@;&EM
M:70@)&]F9G-E="PD;&EM:70@(CL@#0H)"0D-"@D)"0EE8VAO*"(\8G(^)%-1
M3"!)4R!N;W<@)'-Q;"(I.PT*(" @(" @(" @(" @)')E<W5L=" ](&UY<W%L
M7W%U97)Y*"1S<6PL)&-O;FXI(&]R(&1I92@B0V]U;&0@;F]T(&5X96-U=&4@
M#0H@(" @(" @(" @("!Q=65R>2XB*3L@#0H@(" @(" @(" @("!W:&EL92 H
M)')O=R ](&UY<W%L7V9E=&-H7V%R<F%Y*"1R97-U;'0I*2![( T*#0H@(" @
M(" @(" @("!E8VAO("(@#0H@(" @(" @(" @(" \='(@8F=C;VQO<CTC0T-#
M0T-#/CQT9#X\9F]N="!C;VQO<CTC,# P,# P( T*(" @(" @(" @(" @<VEZ
M93TQ/CQB/B1R;W=;<W5R;F%M95U<(B9N8G-P.R9N8G-P.R9N8G-P.R9N8G-P
M.UPB)')O=UMF:7)S=&YA;65=7"(F;F)S<#LF;F)S<#LF;F)S<#LF;F)S<#M<
M(B1R;W=;96UA:6Q=/"]B/CPO9F]N=#X\+W1D/CPO='(^( T*(" @(" @(" @
M(" @(CL@#0H@(" @(" @(" @("!]( T*(" @(" @(" @(" @;7ES<6Q?9G)E
M95]R97-U;'0H)')E<W5L="D[( T*#0H-"B @(" @(" @(" @(&5C:&\@(CPO
M=&%B;&4^(CL@#0H-"@T*(" @(" @(" @(" @)'!A9V5S/6EN='9A;"@D;G5M
M<F]W<R\D;&EM:70I.R -"@T*(" @(" @(" @(" @:68@*"1N=6UR;W=S)21L
M:6UI="D@>R -"B @(" @(" @(" @("1P86=E<RLK.R -"B @(" @(" @(" @
M('T@#0H-"B @(" @(" @(" @(&9O<B H)&D],3LD:3P])'!A9V5S.R1I*RLI
M('L@#0H@(" @(" @(" @(" D;F5W;V9F<V5T/21L:6UI="HH)&DM,2D[( T*
M(" @(" @(" @(" @<')I;G0@(CQA(&AR968]7"(D4$A07U-%3$8_;V9F<V5T
M/21N97=O9F9S971<(CXD:3PO83X@7&XB.R -"B @(" @(" @(" @('T@#0H-
M"@T*(" @(" @(" @(" @:68@*"1O9F9S970^,2D@>R -"B @(" @(" @(" @
M("1P<F5V;V9F<V5T/21O9F9S970M)&QI;6ET.R -"B @(" @(" @(" @('!R
M:6YT("(\82!H<F5F/5PB)%!(4%]314Q&/V]F9G-E=#TD<')E=F]F9G-E=%PB
M/B10<F5V/"]A/B!<;B([( T*(" @(" @(" @(" @?2 -"@T*#0H@(" @(" @
M(" @("!I9B H)&YU;7)O=W,^*"1O9F9S970K)&QI;6ET*2D@>R -"B @(" @
M(" @(" @("1N97AT;V9F<V5T/21O9F9S970K)&QI;6ET.R -"B @(" @(" @
M(" @('!R:6YT("(\82!H<F5F/5PB)%!(4%]314Q&/V]F9G-E=#TD;F5X=&]F
M9G-E=%PB/B1.97AT/"]A/CQP/EQN(CL@#0H)"0E]#0HO*@T*5VAE;B!Y;W4@
M96YT97(@82!S=7)N86UE(&]N('1H92!D871A7V5N=')Y(&9O<FT@86YD(&-L
M:6-K('-E87)C:"P@=&AE(')E8V]R9',@87)E(')E='5R;F5D('1O('1H92!L
M:6UI="!O9B R,"!A<R!I<R!S970@86)O=F4L(&)U="!W:&5N(&D@8VQI8VL@
M;VX@3D585"P@22!S964@;7D@8W5S=&]M97(@97)R;W(@;65R<W-A9V4@<')O
M;71I;F<@;64@=&\@9FEL;"!I;B!O;F4@;V8@=&AE(&9I96QD<RX@(%=H96X@
M=&AE(&9O<FT@<F5L;V%D<R!I='-E;&8L("A02%!?4T5,1BD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!F:7)S=&YA;64@86YD(&5M
M86EL(&-O;'5M;G,@9F]R('1H:7,@97AC97)I<V4N#0H-"DD@86T@<F5A;&QY
M('-O<G)Y('1O('!O<W0@86QL('1H:7,@8G5T($D@86T@=&]T86QL>2!S='5C
M:RX@($D@:&%V92!B;W5G:'0@,R!B;V]K<R!O;B!02% O35E344P@86YD('9I
M<VET960@=F%R:6]U<R!S:71E<R!F;W(@<V%M<&QE(&-O9&4@*&%L;"!O9B!W
M:&EC:"!W;W)K(&1U<FEN9R!T97-T*2!B=70@9&\@;F]T('=O<FL@:6X@;7D@
M<VET92X@(%1H92!P<F]B;&5M(&UU<W0@8F4@=VET:"!M>2!C;V1I;F<N("!0
D3&5A<V4@:&5L<"!I9B!Y;W4@8V%N+@T*#0H-"@T*#0H-"C\^
`
end


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux