Looking to hire a PHP coder to fix a problem

Discussion in 'PHP' started by nicedeals, Oct 15, 2008.

  1. #1
    I have this error mesasage when a php file is run in a browser.

    Warning: Division by zero in /home/vauxhall/public_html/populate.php on line 397

    Warning: Division by zero in /home/vauxhall/public_html/populate.php on line 398

    Warning: Division by zero in /home/vauxhall/public_html/populate.php on line 397

    Warning: Division by zero in /home/vauxhall/public_html/populate.php on line 398

    ----------------

    can some php expert look into this for us? please get in touch
    thanks!
     
    nicedeals, Oct 15, 2008 IP
  2. Technica

    Technica Active Member

    Messages:
    624
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #2
    sent you PM
     
    Technica, Oct 15, 2008 IP
  3. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #3
    look at line 398/397, for anything dividing by something else.

    You probably have a loop where the scenario turns out to be like 45 / 0 - which is illegal. Look into your code around the division to fix :)
     
    ccoonen, Oct 15, 2008 IP
  4. Limotek

    Limotek Peon

    Messages:
    165
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    This looks like something that's very simple to fix and personally I don't think you should have to pay to get it fixed.

    Post the code for populate.php here and I'll have a look.
     
    Limotek, Oct 16, 2008 IP
  5. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #5
    Yeah. This is a minor problem
     
    ads2help, Oct 16, 2008 IP