| | #1 |
| Active Warrior Join Date: 2009
Posts: 49
Thanks: 11
Thanked 6 Times in 6 Posts
|
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. |
| |
| | #2 |
| Warrior Member Join Date: 2015
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
|
$option or $submitted_value is an array rather then a string value. You may want to just try dumping those variables and seeing what the issue is.
|
| |
| | #3 |
| Active Warrior Join Date: 2009
Posts: 49
Thanks: 11
Thanked 6 Times in 6 Posts
|
Thanks Xorb, Couldn't figure it out. Looks like the Multiple Selection Box has an issue. Made a new form without it. Will just have to do. I appreciate the help. |
| |
|
| Bookmarks |
| Tags |
| appreciated, code, warning |
| |