Quote:
Originally Posted by inebriate
when using the php tags in smarty, you dont need to add <?php ?>
so
{php}
<?php include_once('/emformpro/emform_include.php');?>
<?php print get_emform_form("","jute_quotes");?>
{/php}
should be
{php}
include_once('/emformpro/emform_include.php');
print get_emform_form("","jute_quotes");
{/php}
|
When I try that using,
Code:
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>{php}
include_once('/home/virtual/site1/fst/var/www/html/emformpro/emform_include.php');
print get_emform_form("","jute_quotes");
{/php}</td>
</tr>
</table>
I get this message, "Can't connect to database"
So far the only way I can get it to work is using a Iframe, but there must be a better way.
Thanks