Skip to main content
4 events
when toggle format what by license comment
Feb 4, 2014 at 18:29 comment added Towfiq sorry. Updated the question with my previous comment. Thanks
Feb 4, 2014 at 17:42 comment added s_ha_dum Please edit that comment into the question. Code formatting in comments in minimal making that very hard to read.
Feb 4, 2014 at 15:41 comment added Towfiq thanks tried as you suggested: foreach ( $ls_up_votes as $key => $value ){ var_dump($key,$value);if ( $key == $currentusr ){ unset( $ls_up_votes[$key] );}} with no avail. When I add the user input 2 times, the unset commands should remove the previous array that was added by the same user and add the new one, instead its adding all 2 times.Here is what I am getting: Array ( [0] => Array ( [0] => [1] => Array ( [wpd_function_rating] => 33 [wpd_feature_rating] => 23 [wpd_support_rating] => 66 ) ) [1] => Array ( [wpd_function_rating] => 44 [wpd_feature_rating] => 11 [wpd_support_rating] => 32 ) )
Feb 4, 2014 at 15:09 history answered s_ha_dum CC BY-SA 3.0