小島健太郎
kojim****@gmail*****
2012年 7月 13日 (金) 10:21:45 JST
tsuji$BMM!"1sF#MM!"$42sEz$"$j$,$H$&$4$6$$$^$7$?!#(B $B$*$C$7$c$k$h$&$K!"(BFALSE$B$+$I$&$+$r$-$/$3$H$G(B $B>r7oJ,4t$,K>$_DL$j$K$$$-$^$7$?!#(B $B!d$H$3$m$G!"L\E*$,%\%?%s$K$h$C$FF0:n$rJ,$1$k$H8@$&$3$H$G$"$l$P!"(B $B!d%U%)!<%`$rJ,$1$?J}$,NI$/$J$$$G$9$+!)(B $B$9$_$^$;$s!"<ALd;~$K @ bL@ITB-$G$7$?$,!"(B Excel$B=PNO$b!"8!:w%\%C%/%9$KF~NO$5$l$?>r7o$K$h$C$F(B DB$B8!:w$7$?7k2L$N$_=PNO$7$?$$$N$G!"(B <form ...> <input type="text".. > <input type="text".. > </form> $B$O$R$H$D$7$+MQ0U$G$-$J$$$?$a!"(B $B%\%?%s$N(Bname$BB0 @ -$K$F=hM}$r$o$1$k$H$$$&J}K!$7$+$J$$$H;W$$!"(B $B$3$N$h$&$J$d$jJ}$r$7$F$$$^$9!#!#(B $B!J$b$7$3$l$,0lHLE*$J$d$jJ}$G$J$/!"(B $B$J$K$+;d$N4*0c$$$,$"$j$^$7$?$i%"%I%P%$%9$/$@$5$$!K(B $B$H$j$$$=$.!"K\Bj$O2r7h$G$9!#(B $B$"$j$,$H$&$4$6$$$^$7$?!#(B 2012$BG/(B7$B7n(B12$BF|(B 18:50 Toshinori Endo <endo****@ist*****>: > $B>.Eg$5$s!"$3$s$K$A$O!#(B > > $B%^%K%e%"%k$K$O$3$s$JIw$K=q$$$F$"$j$^$9!#(B > > The function returns FALSE (boolean) if there are no items in the POST. > > $B3N$+$a$F$^$;$s$,!"JVCM$,(Bfalse$B$8$c$J$$CM$K$J$C$F$$$k$H$$$&$3$H$8$c$J$$$+$H;W$$$^$9!#(B > $BJQ?t$KBeF~$7$F(Becho$B$7$F$_$F$O$$$+$,$G$7$g$&$+!#(B > > $B$H$3$m$G!"L\E*$,%\%?%s$K$h$C$FF0:n$rJ,$1$k$H8@$&$3$H$G$"$l$P!"%U%)!<%`$rJ,$1$?J}$,NI$/$J$$$G$9$+!)$D$^$j(B > > <!-- $B8!:wMQ(B --> > <form action=search...> > <button type=submit ...> > </form> > <!-- $B%(%/%;%k=PNOMQ(B --> > <form action=excelout...> > <button type=submit ...> > </form> > > $B$H$$$&$+$s$8$G$9!#(B > $B$3$&$9$l$PD>@\L\E*4X?t$,8F$S=P$5$l$k$N$G!"JQ$JLdBj$KG:$^$J$/$F$b:Q$`$h$&$J5$$,$7$^$9!#(B > > ----- > $B1sF#!!=SFA(B > > > 2012$BG/(B7$B7n(B12$BF|(B 18:28 $B>.Eg7rB @ O:(B <kojim****@gmail*****>: >> $B$*@$OC$K$J$C$F$*$j$^$9!#(B >> >> CodeIgniter$B$r;HMQ$7$F!"$h$/$"$k8!:w%7%9%F%`$r$D$/$C$F$*$j$^$9!#(B >> >> $B8!:w2hLL$K$F!V8!:w!W%\%?%s$NNY$K!V(BExcel$B=PNO!W%\%?%s$r$D$1(B >> $B%/%j%C%/$7$?%\%?%s$N(Bname$BB0 @ -$K$h$C$F=hM}$r @ Z$jJ,$1$h$&$H$7$F$$$^$9!#(B >> $B$3$l$^$G$b!"(BCodeIgniter$B$r;HMQ$;$:$KF1$8$h$&$J$b$N$r2?EY$+:n @ .$7$?$3$H$O(B >> $B$"$j$^$9!#(B >> >> $B$G$9$,!"2<5-$N$h$&$J%3!<%I$G!"!V(BExcel$B=PNO!W%\%?%s$r%/%j%C%/$7$F$b(B >> $B!V8!:w!W%\%?%s2!2<;~$HF1$8F0$-$K$J$C$F$7$^$$$^$9!#(B >> >> >> ** $B%S%e!<(B ********************************** >> >> <!--$B8!:w%\%C%/%9It(B--> >> <form method="post" action="<?= base_url()?>index.php/c_ReplyManager/listAll" > >> <input type = ....> >> <input type = ....> >> : >> <button type="submit" name="search" class="btn btn-primary >> btn-large">$B8!!!!!!!:w(B</button> >> <button type="submit" name="outputexcel" class="btn btn-primary >> btn-large">Excel$B=PNO(B</button> >> </form> >> : >> <!--$B8!:w7k2LI=<(It(B--> >> : >> >> >> ** $B%3%s%H%m!<%i(B **************************** >> function listAll() { >> >> if($this->input->post("search", TRUE)){ >> //$B8!:w%\%?%s$+$i$N(BPOST$B$N>l9g(B >> >> //$B-!(BPOST$BCM<u$1<h$j(B >> //$B-"(BDB$B8!:w(B >> //$B-#8!:w7k2L$r%S%e!<$XEO$9(B >> >> }elseif($this->input->post("outputexcel", TRUE)){ >> //EXCEL$B=PNO$+$i$N(BPOST >> >> //$B-!(BPHPEXCEL$B$r;HMQ$7$?CM%;%C%H!u%@%&%s%m!<%I=hM}(B >> >> }else{ >> >> //$B=i4|I=<($N$?$a$N=hM}!J>e5-8!:w=hM}$HF1$8=hM}!"A47oI=<(!K(B >> >> } >> } >> >> ******************************************* >> >> $this->output->enable_profiler(true);$B$K$F(B >> $B>pJs$rI=<($5$;$?$H$3$m!"(B >> >> POST$B%G!<%?$O$A$c$s$H(B$_POST['outputexcel']$B$H(B >> $B$J$C$F$$$k$K$b$+$+$o$i$:!"$U$D$&$N8!:w=hM}$N$[$&$,(B >> $B<B9T$5$l$F$$$^$9!#(B >> >> $B2?$+860x$,$"$k$N$G$7$g$&$+!)(B >> $B$465<(4j$$$^$9!#(B >> >> >> _______________________________________________ >> Codeigniter-users mailing list >> Codei****@lists***** >> http://lists.sourceforge.jp/mailman/listinfo/codeigniter-users >> > > > _______________________________________________ > Codeigniter-users mailing list > Codei****@lists***** > http://lists.sourceforge.jp/mailman/listinfo/codeigniter-users > -- *********************************************** $B0eNEK!?M1IOB2q @ t@nIB1!(B $B0eNE>pJsIt(B $B>pJs%7%9%F%`(B $B!!(B $B!!>.Eg!!7rB @ O:(B E-mail:kojim****@gmail***** Tel:0957-72-2017 ***********************************************