Add markup to Drupal fields

Hi all

Currently working with Drupal trying to override some markup, slowly getting there.

My problem is:

<?php print $field->content; ?>
<?php print $row; ?>

I need to get inside content and $row. What’s inside them?
What the fields names are and what I can reference to hook onto them.

Example: ‘content’ outputs:
name
date
link

I need to wrap markup around each separate field, content->title (something like this?) and just can’t figure out how to do it.

Any suggestions?

Thanks, cb

<?php print $field['title']->content; ?>

The above code now gives the error:
Fatal error: Cannot use object of type views_handler_field_node as array in /…

Can you see what I’m doing wrong?

Taken from the Devel output

… (Array, 3 elements)
field_event_location (Object) stdClass
field_event_date_and_time (Object) stdClass
title (Object) stdClass

Thanks.