How do i get views field labels in the template file I am creating a view, and displaying view by using custom template files. As per theme suggestions I named the template file for fields as views-view-fields--blog-display--page.tpl. In this file I want to display labels for the view fields which i have given while adding fields. I tried using  

&lt;?php print $fields['label']-&gt;content; ?&gt; 


But not able to get the label. 
What am I doing wrong?
As far as I see in the documentation for views-view-fields.tpl.php (I did not test it myself), the syntax seems to be something like the following:

&lt;?php print $fields['myfield']-&gt;label; ?&gt;


(you can also use $fields['myfield']-&gt;label_html)