Overriding data in a block I have a block manually created through the drupal admin panel.

I would like to override it in order to implement in it an array of data with it's corresponding html.

Is there an easy way to do this?

I also could create the block programmatically with the hook_block instead of using the admin panel.

I don't mind doing it either way, which way do you recommend?
you can use array in static block(created through admin panel) also by choosing text format to "php Code". What exactly, you want to achieve ?