User Tools

Site Tools


Sidebar

Remember you can't log in as admin unless you are using ssl.

This is a sidebar. It will have content eventually.Edit sidebar

serializearray

serializeArray

Suggested fix for name, value pairs in serializeArray in https://stackoverflow.com/questions/51856589/how-can-i-serializearray-with-a-structure-based-on-key-value

array_combine(array_column($data, 'name'), array_column($data, 'value'));

Untested

Another suggestions also untested:

foreach($data as $i) { $newData[$i['name']] = $i['value']; }
serializearray.txt · Last modified: 2020/08/17 10:45 by admin