Hi,
I'm new here so I'm not sure sure to post in the right place or in the right way.
I have a problem. I'm trying to propose an on-line estimate on my site, using php. The problem is the "echo" at the end of the script doesn't seem to echo anything.
Here's the code:
<?php
function indication()
{
$Input=array();
$Input[0]=$_GET["ecma"];
$Input[1]=$_GET["php"];
$IndexSum=array_sum($Input);
$Index=$IndexSum+1;
$PageNb=$_GET["page_nb"];
$PageTran=$PageNb*90;
$Pages=$PageTran+180;
$Total=$Pages*$Index;
echo $Total;
}
?>
Any ideas?
I'm new to php, it may be something obvious.
Many thanks.