PHP code rendered in HTML

It was indeed an encoding issue. Opening with Notepad++ (I’ve managed to open it from a PC), I’ve realized that the file was encoded as UCS-2 something (I don’t remember exactly if Big or Little Endian). I have no idea why this happened and how to avoid that in the future, as I’ve simply created … Read more

Using a loop to build and update widgets

I am not sure I followed your code correctly, but you could try to set all data into one array: name=”unique_widget_name[<?php echo $this->get_field_name($i); ?>][‘name’]” Very similar question, but not identical: How to store widget fields data as an array?