Re: problem in checkbox

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

 



you just need to make checkbox field name with array symbol "[]" 
$CNT = COUNT($_REQUEST['CHECKBOX NAME']);
FOR($I=0;$I<$CNT;$I++) {
  ECHO $_REQUEST[CHECKBOX NAME][$I];
OR DO ANY THING HERE LIKE ADD EDIT OR DELITE
}
TRY IT I THINK YOUR PROBLEM IS SOLVE 

--- On Mon, 6/22/09, Evlin Marcelline <evlin.marcelline@xxxxxxxxx> wrote:

From: Evlin Marcelline <evlin.marcelline@xxxxxxxxx>
Subject: Re:  problem in checkbox
To: php-objects@xxxxxxxxxxxxxxx
Date: Monday, June 22, 2009, 9:30 PM











    
            
            


      
      I agree with Joe.. but if you want to try, try use indexing in your id

checkbox, and then try use form submit to save it... i suggest you using

AJAX for more simple logic & coding :) hope can help...



On Tue, Jun 23, 2009 at 12:20 AM, Joe Forsythe <jforsythe@mosaiccre ative.com

> wrote:



>

>

> My suggestion is that you send your non-working code so that we can

> help you debug it.

> --

> Joe

>

>

> On Jun 21, 2009, at 10:38 PM, Khizra Ali wrote:

>

> >

> >

> > i want to delete some records through multiple checkboxes.. .

> > i write a code but it is not working

> > plz give me some suggestion..

> > thank in advance.

> >

> > [Non-text portions of this message have been removed]

>

> [Non-text portions of this message have been removed]

>

>  

>



-- 

Best Regards,



Evlin Marcelline

decall29@yahoo. com

evlin.marcelline@ lenmarc.com



[Non-text portions of this message have been removed]




 

      

    
    
	
	 
	
	








	


	
	


      

[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux