SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: a quickie

  1. #1
    SitePoint Evangelist -T-'s Avatar
    Join Date
    Jun 2002
    Posts
    444
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    a quickie

    Why dows this line give me 0 as $gain?

    PHP Code:
    $gain $your_acres/$his_acres*his_acres*1.13
    $your_acres and $his_acres are above 0.
    chrome is a wrapper that combines a browser with spyware

  2. #2
    SitePoint Zealot infoxicated's Avatar
    Join Date
    Jun 2001
    Location
    UK
    Posts
    140
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Missing dollar sign from the second his_acres

  3. #3
    SitePoint Evangelist -T-'s Avatar
    Join Date
    Jun 2002
    Posts
    444
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    *sigh* it always the obvius things you can't see :P

    Thanks
    chrome is a wrapper that combines a browser with spyware


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •