0

Why the checkbox is not working? it echoing "interest Array"

$_POST['interest'] ;
            
     foreach($_POST as $field => $Value)
   {
    echo "$field,$Value<br>";
    
   }

Edited by peter_budo: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks)

2
Contributors
7
Replies
8
Views
7 Years
Discussion Span
Last Post by rajarajan07
0

If I use print_r function I get this array

Array ( [Gletuire] => Gletuire [Montaj parchet] => Montaj parchet [Placare faianta integral] => Placare faianta integral ) 1Inaltime_pereti,2.5
Array ( [Gletuire] => Gletuire [Montaj parchet] => Montaj parchet [Placare faianta integral] => Placare faianta integral ) 1Latime,3
Array ( [Gletuire] => Gletuire [Montaj parchet] => Montaj parchet [Placare faianta integral] => Placare faianta integral ) 1Lungime,10
Array ( [Gletuire] => Gletuire [Montaj parchet] => Montaj parchet [Placare faianta integral] => Placare faianta integral ) 1Inaltime_faianta,2.5
Array ( [Gletuire] => Gletuire [Montaj parchet] => Montaj parchet [Placare faianta integral] => Placare faianta integral ) 1Faianta_partial,0
Array ( [Gletuire] => Gletuire [Montaj parchet] => Montaj parchet [Placare faianta integral] => Placare faianta integral ) 1interest,Array
Array ( [Gletuire] => Gletuire [Montaj parchet] => Montaj parchet [Placare faianta integral] => Placare faianta integral ) 1

What to do with this?

Edited by Nick Evan: Fixed formatting

0

it echoing
test[Gletuire]=Gletuiretest[Placare faianta integral]=Placare faianta integraltest[Placare tavan gips carton]=Placare tavan gips cartontest[Vopsitorie lavabila]=Vopsitorie lavabila?

0

You deserve a cold good tasty beer : Thank you. Still, why it neded index remark?

0

Actually there is no need of test. I think already you got the result. No need of index anything it would be, actually in the second post itself you have result.

Edited by rajarajan07: n/a

0

I reaad from 7 am till 11pm from weeks and still get a lot of headeaks.

0

Oh! know, you must study array before using these. If you seen array before then you understand what it shows? anyways success is coming after lot of mistakes.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.