if for instance your php file had a query in it like:
$results=func_query(blah blah);
$smarty->assign("myquery",$results);
You need to access the elements of the results array similar to the way it is done with products or categories
ie
include the file:
{ include file="mytemplate.tpl" }
then put in a section:
{section name=myquery loop=$myquery}
then within this section (dont forget to close it at the end) put in something like:
{$myquery.fieldname}
or something fairly similar.
