[Codeigniter-users] (無題)

Back to archive index

tsuji kuni kunit****@gmail*****
2012年 7月 12日 (木) 18:54:13 JST


~$BJ8;z$G$O$J$/!"(B
$B6uJ8;z$G$7$?!#(B


2012$BG/(B7$B7n(B12$BF|(B 18:48 tsuji kuni <kunit****@gmail*****>:

> kunitsuji$B$G$9!#(B
> if($this->input->post("search", TRUE))
> $B$3$NCM$O!"(B~$BJ8;z$K$J$C$F$$$k$N$G!"$=$l$,860x$+$H;W$$$^$9!#(B
> $B$J$N$G!">e$N>r7o$G$ODL$i$J$$$3$H$K$J$C$F$k$+$H!#(B
>
> <button type="submit" name="search" value="search" class="btn
> btn-primarybtn-large">$B8!(B $B:w(B</button>
> value$B$rF~$l$k$+!"(B
> FALSE$B$8$c$J$$$+$I$&$+$rH=Dj$7$F$O$I$&$G$7$g$&$+!)(B
> if ($this->input->post("search", TRUE) !== FALSE)
>
> 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!(B $B: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
>>
>>
>
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Codeigniter-users メーリングリストの案内
Back to archive index