QUOTE(Brian @ Feb 17 2008, 07:06 AM)

Try something like this in your template:
{include_php file='../review/review_insert.php?item_id=$location.id'}
Thanks Brian.
When I use this:
CODE
{include_php file='http://www.knowyouragent.net/review/review_insert.php?item_id={$location.id}'}
I get this:
CODE
Fatal error: Smarty error: [in result_details.tpl line 277]: syntax error: invalid attribute name: '=' (Smarty_Compiler.class.php, line 1531) in /homepages/htdocs/locator/libs/Smarty.class.php on line 1095
When I use this:
CODE
{include_php file='../review/review_insert.php?item_id=$location.id'}
I get this:
CODE
Warning: Smarty error: file:../review/review_insert.php?item_id=$location.id is not readable in /homepages/htdocs/locator/libs/Smarty.class.php on line 1095 Warning: _include() [function.include]: Failed opening '' for inclusion (include_path='.:/usr/local/lib/php') in /homepages/htdocs/locator/libs/Smarty.class.php on line 1922
When I use this:
CODE
{include_php file='http://www.knowyouragent.net/review/review_insert.php?item_id=$location.id'}
I get this:
CODE
Warning: Smarty error: http://www.knowyouragent.net/review/review_insert.php?item_id=$location.id is not readable in /homepages/htdocs/locator/libs/Smarty.class.php on line 1095
The permissions on review_insert.php are 644.
Any other ideas?
Thanks for your help.
Tim