Posts by Joao Vasco • 23 points
2 posts
-
1
votes0
answers47
viewsQ: returning data in Array_filter
Friends, in the code below I do the following: $term = '422'; $data = json_decode($response); $filtered = array_filter($data, function($item) use ($term) { return stripos($item->id, $term) !==…
phpasked Joao Vasco 23 -
1
votes1
answer205
viewsQ: 2 different structures with select field
I need 2 forms on the same page and I am trying at the end to create a select field so I can choose between one or the other, I am trying here several ways without success ! Please help, please…