[Codeigniter-users] (無題)

Back to archive index

Toshinori Endo endo****@ist*****
2012年 7月 12日 (木) 18:50:39 JST


$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 メーリングリストの案内
Back to archive index