Hi
In v8 used to have a little volume calculator which popped up using extended info option and all worked fine simply surrounding the code with
!!< code >!! and naming the file with a .php extension.
Upgraded to v9 and doesn't work anymore.
Have tried surrounding code with <actinic:block php="true"> </actinic:block> but just shows the code and surrouning all that with !!< >!! and shows the form but with no luck.
Also tried <actinic:block php="true"> </actinic:block>, in line, surrounding <form action="<actinic:block php="true"><?php print $PHP_SHELF; ?></actinic:block> and
<actinic:block php="true">
<?php
if($submit =='Calculate Volume Required' {
$result =$number1 * $number2 * $number3 / 1000;
echo '<font size=2 color=white><b>Volume required: $result cubic metres</b></font>';
}
?>
</actinic:block>
around the other php code section (that displays the result) but with no luck with the result panel corrupted when displayed and page not found when actioned.
Can anyone point in right direction?
In v8 used to have a little volume calculator which popped up using extended info option and all worked fine simply surrounding the code with
!!< code >!! and naming the file with a .php extension.
Upgraded to v9 and doesn't work anymore.
Have tried surrounding code with <actinic:block php="true"> </actinic:block> but just shows the code and surrouning all that with !!< >!! and shows the form but with no luck.
Also tried <actinic:block php="true"> </actinic:block>, in line, surrounding <form action="<actinic:block php="true"><?php print $PHP_SHELF; ?></actinic:block> and
<actinic:block php="true">
<?php
if($submit =='Calculate Volume Required' {
$result =$number1 * $number2 * $number3 / 1000;
echo '<font size=2 color=white><b>Volume required: $result cubic metres</b></font>';
}
?>
</actinic:block>
around the other php code section (that displays the result) but with no luck with the result panel corrupted when displayed and page not found when actioned.
Can anyone point in right direction?
Comment