Jump to content

a-mo

New Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

a-mo's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Ok, indeed, the function wasn't called. Stupid me. It was just missing "indication();" after the function. Thank you. nb: please be lenient, I'm learning php since yesterday.
  2. Sorry, I'm not sure what you mean. I have a form in an html file, with "action="(the php file)", the php previous code is in the .php. I receive no errors from the server when proceeding on the site.
  3. 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.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.