This is the warning: Warning: trim() expects parameter 1 to be string, array given in "file"on line 152
Warning in code - Help appreciated
3
This is the warning:
Warning: trim() expects parameter 1 to be string, array given in "file"on line 152
This is Line 152:
$selected = ( trim( $option ) == trim( $submitted_value ) || ( $is_multiselect && in_array( trim( $option ), $submitted_value ) ) ) ? 'selected="selected"' : '';
I'd appreciate any help, Thanks.
Warning: trim() expects parameter 1 to be string, array given in "file"on line 152
This is Line 152:
$selected = ( trim( $option ) == trim( $submitted_value ) || ( $is_multiselect && in_array( trim( $option ), $submitted_value ) ) ) ? 'selected="selected"' : '';
I'd appreciate any help, Thanks.
- Xorb
- [1] reply
- BC27
Next Topics on Trending Feed
-
3