Script to do a calculation -help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Rob (SA)
    Lieutenant Colonel

    • Nov 2006
    • 586

    Script to do a calculation -help

    Hi Folks,

    I have some script and need someone in the know who will be able to check why it is not working at the moment please?

    [PHP
    </td>
    <inputtype="Hidden" name="courseid" value="1000R">
    <inputtype="Hidden" name="gameid" value="200910011000R">
    <inputtype="Hidden" name="gamedate" value="2009-10-01">
    <inputtype="Hidden" name="handicap" value="12">
    <inputtype="Hidden" name="username" value="Rob Hargroves">
    <inputtype="Hidden" name="day" value="01">
    <inputtype="Hidden" name="month" value="10">
    <inputtype="Hidden" name="year" value="2009">
    <inputtype="Hidden" name="par_hole18" value="4">

    </tr>
    <trclass='menu-bg'>
    <td>IN</td>
    <td>3247</td>
    <td>36</td>
    <td></td>
    <td>0</td>
    <td></td>
    <td>0</td>
    <td></td>
    <td>0</td>
    <td>0</td>
    <td>0</td>
    <td>0</td>
    <td>0</td>
    <td>0</td>
    <td>0 *</td>
    <td>&nbsp;</td>
    </tr>

    <trclass='menu-bg'>
    <td>OUT</td>
    <td>3505</td>
    <td>36</td>
    <td></td>
    <td>0</td>
    <td></td>
    <td>0</td>
    <td></td>
    <td>0</td>
    <td>0</td>
    <td>0</td>
    <td>0</td>
    <td>0</td>
    <td>0</td>
    <td>0 *</td>
    <td>&nbsp;</td>
    </tr>

    <trclass='menu-bg'>
    <td>TOTAL</td>
    <td>6752</td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td>na</td>
    <td></td>
    <td>na</td>
    <td>na</td>
    <td></td>
    <td>na *</td>
    <td>&nbsp;</td>
    </tr>

    </table>
    <p>
    <inputtype="Hidden" name="out_drive" value="0">
    <inputtype="Hidden" name="in_drive" value="0">
    <inputtype="Hidden" name="out_drive_distance" value="0">
    <inputtype="Hidden" name="in_drive_distance" value="0">
    <inputtype="Hidden" name="out_putts" value="0">
    <inputtype="Hidden" name="in_putts" value="0">
    <inputtype="Hidden" name="error_count" value="0">
    <inputtype="Hidden" name="total_gross1" value="">
    <inputtype="Hidden" name="total_net1" value="">
    <inputtype="Hidden" name="total_stableford1" value="">
    <inputtype="Hidden" name="total_fairway1" value="na">
    <inputtype="Hidden" name="total_gir1" value="">
    <inputtype="Hidden" name="total_putts1" value="na">
    <inputtype="Hidden" name="total_bunker1" value="na">
    <inputtype="Hidden" name="total_sandsave1" value="">
    <inputtype="Hidden" name="longest_drive1" value="na">
    <inputtype="Hidden" name="tournament" value="0">
    <inputtype="Hidden" name="calculate" value="">
    <inputtype="Submit" name="calculate" value="Calculate Score">&nbsp;
    <inputtype="Submit" name="confirm" value="Confirm Score" DISABLED>
    </form>

    <br>
    <br>

    </td>
    </tr>
    </table>

    ][/php]

    This is surposed to add a whole series of inputs together to give a result but currently it does not do that.

    Any advice here is welcome
    Kind Regards
    Rob
    www.gnjgf.co.za
    www.oryan-projects.com
  • navaldesign
    General & Forum Moderator

    • Oct 2005
    • 12080

    #2
    Re: Script to do a calculation -help

    Rob, this is not a calculation script. This is simply a form (you are also missing the openin <table> and <form> tags, as well as action, encoding type etc. where all fields are hidden (so there is no user input either).

    Unless there is further code which you have not posted, as it is now, it does nothing, it will simply display some table cells and the submit buttons.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

    Comment

    • Rob (SA)
      Lieutenant Colonel

      • Nov 2006
      • 586

      #3
      Re: Script to do a calculation -help

      Hi George,

      Thanks for the reply.

      I thought that it was perhaps this section of the script that was causing problems hence me only posting that part.

      The whole file I think is to big to post
      Kind Regards
      Rob
      www.gnjgf.co.za
      www.oryan-projects.com

      Comment

      • navaldesign
        General & Forum Moderator

        • Oct 2005
        • 12080

        #4
        Re: Script to do a calculation -help

        Ok, it took me 20 minutes only to shape your code to become understandable.

        There a lots of mistakes in the HTML code (openin <option> tags without closing one, openin <td> tags without closing ones, and, vicevers, closing </td> tags without opening ones, nested tables (Why ??), openin <p> tags (unecessary) repeated hidden fields with the same name etc etc)

        BUT there isn't one line of code that should perform a calculation

        Where is it ??
        Navaldesign
        Logger Lite: Low Cost, Customizable, multifeatured Login script
        Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
        DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
        Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

        Comment

        • Rob (SA)
          Lieutenant Colonel

          • Nov 2006
          • 586

          #5
          Re: Script to do a calculation -help

          <script>

          function checkrequired(which){

          var pass=true

          if (document.images){

          for (i=0;i<which.length;i++){

          var tempobj=which.elements[i]

          if (tempobj.name.substring(0,11)=="gross_score"){

          if (((tempobj.type=="text"||tempobj.type=="textarea")&&tempobj.value=='')||(tempobj.type.toString().charAt(0)=="s"&&tempobj.selectedIndex==-1)){

          pass=false

          break

          }


          }


          }


          }


          if (!pass){

          alert("Please fill in your scores.")

          return false

          }

          else

          return true

          }

          </script>

          <!DOCTYPEHTMLPUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

          <HTML>
          <HEAD>
          <metahttp-equiv="Content-Type" content="text/html; charset=iso-8859-1">
          <metahttp-equiv="Pragma" content="no-cache">
          <metaname="Description" content="Free Online personal golf statistic website. Giving professional statistics to everyday golfers!">

          <metaname="Keywords"

          content="malaysia golf courses,malaysia golf directory,golf directory,golf membership,malaysia golf, tincup, golf organiser,golf tournament,malaysia golf news,asian golf news, golf equipment malaysia, malaysia golf holidays, malaysia golf tournament, golf courses, e-golf, golfweb,golf magazine, malaysia golf magazine, golf malaysia, malaysia golf portal, malaysia golfers, golf links, golf equipment exchange, golf bidding, golf packages, golf jokes, world golf news, malaysia international golf show, golf-asia.com,asiagolf.com, golfsearch, golfonline.com,pgatour.com, europeantour.com">

          <metaname="GENERATOR" content="HTML-Kit">

          <TITLE>Score Manager</TITLE>
          <linkrel="StyleSheet" href="style.css" type="text/css">
          </HEAD>


          <body>

          <tablewidth="100%" border="0" cellspacing="0" cellpadding="0" align="center">

          <tralign="left" valign="top">


          <tdclass="title">


          <tablewidth="100%" border="0" cellspacing="1" cellpadding="2">


          <tr>


          <tdclass="title" align='right'><b>


          Logged in as: Rob &nbsp;| &nbsp; <ahref='login.php?logout=y'>Logout?</a> &nbsp;&nbsp; </b></td>


          </tr>


          </table>


          </table>


          <p>

          <!----------------Begin Display Section--------------------------------->





          <p>



          <tableborder=1 cellpadding="5">


          <trclass="menu-bg"><td>

          Name</td><td>Date</td><td>Handicap</td><td>Game ID</td><td>Course</td><td>Slope</td><td>Rating</td><td>Tournament</td>

          </tr>

          <tr>


          <td>Rob Har******</td><td>01/01/2009</td><td>12</td>



          <td>200901011000R</td><td>Woodhill Residential Estate & Country Club</td><td>99.99</td><td>72.00</td>


          <td>NO</td>


          </tr>


          </table>


          <p>


          <formmethod="post" action="/stevie/scorecard.php" onSubmit="return checkrequired(this)">

          <tableborder=1>

          <trclass="menu-bg">


          <td>Hole</td><td>Meters</td><td>Par</td><td>Stroke</td><td>Gr.Score</td><td>Gr.Name</td><td>Net.Score</td>

          <td>Net.Name</td><td>Stableford</td><td>


          <inputtype="checkbox" name="checkfairway" value="1" >Fairway</td><td>GIR</td><td>Putt</td><td><inputtype="checkbox" name="checkbunker" value="1" >Bunker</td><td>Sand Save</td><td>Drive</td><td>Club</td>
          </tr>





          <p>


          <tr><td>1</td><td>398</td><td>4</td><td>3</td><td><inputtype="text" maxlength="2" size="2" name="gross_score1" value=""></td><td><inputtype="text" maxlength="12" size="15" name="gross_name" value="" disabled></td><td><inputtype="text" maxlength="2" size="2" name="net_score" value="" disabled></td><td><inputtype="text" maxlength="12" size="15" name="net_name" value="" disabled></td><td><inputtype="text" maxlength="3" size="3" name="stableford" value="" disabled></td><td><inputtype="checkbox" name="fairway1" value="1" ></td><td><inputtype="checkbox" name="gir1" value="1" disabled></td><td><inputtype="text" maxlength="2" size="2" name="putt1" value=""></td><td><inputtype="checkbox" name="bunker1" value="1" ></td><td><inputtype="checkbox" name="sandsave1" value="1" disabled></td><td><inputtype="text" maxlength="3" size="3" name="drive1" value=""></td><td><selectname='teeclub1'><optionvalue="dr" > Driver<optionvalue="w3" > 3 Wood<optionvalue="w5" > 5 Wood<optionvalue="i3" > 3 Iron<optionvalue="i4" > 4 Iron<optionvalue="i5" > 5 Iron<optionvalue="i6" > 6 Iron<optionvalue="i7" > 7 Iron<optionvalue="i8" > 8 Iron<optionvalue="i9" > 9 Iron<optionvalue="pw" > Pitching<optionvalue="sw" > Sand<optionvalue="lw" > Lob<optionvalue="i2" > 2 Iron<optionvalue="w4" > 4 Wood<optionvalue="w7" > 7 Wood<optionvalue="w9" > 9 Wood<optionvalue="w2" > 2 Wood<optionvalue="ut" > Utility


          </select>


          </td>
          <inputtype="Hidden" name="courseid" value="1000R"><inputtype="Hidden" name="gameid" value="200901011000R"><inputtype="Hidden" name="gamedate" value="2009-01-01"><inputtype="Hidden" name="handicap" value="12"><inputtype="Hidden" name="username" value="Rob Hargroves"><inputtype="Hidden" name="day" value="01"><inputtype="Hidden" name="month" value="01"><inputtype="Hidden" name="year" value="2009"><inputtype="Hidden" name="par_hole1" value="4"></tr><p>


          <tr><td>2</td><td>212</td><td>3</td><td>9</td><td><inputtype="text" maxlength="2" size="2" name="gross_score2" value=""></td><td><inputtype="text" maxlength="12" size="15" name="gross_name" value="" disabled></td><td><inputtype="text" maxlength="2" size="2" name="net_score" value="" disabled></td><td><inputtype="text" maxlength="12" size="15" name="net_name" value="" disabled></td><td><inputtype="text" maxlength="3" size="3" name="stableford" value="" disabled></td><td><inputtype="checkbox" name="fairway2" value="1" ></td><td><inputtype="checkbox" name="gir2" value="1" disabled></td><td><inputtype="text" maxlength="2" size="2" name="putt2" value=""></td><td><inputtype="checkbox" name="bunker2" value="1" ></td><td><inputtype="checkbox" name="sandsave2" value="1" disabled></td><td><inputtype="text" maxlength="3" size="3" name="drive2" value=""></td><td><selectname='teeclub2'><optionvalue="dr" > Driver<optionvalue="w3" > 3 Wood<optionvalue="w5" > 5 Wood<optionvalue="i3" > 3 Iron<optionvalue="i4" > 4 Iron<optionvalue="i5" > 5 Iron<optionvalue="i6" > 6 Iron<optionvalue="i7" > 7 Iron<optionvalue="i8" > 8 Iron<optionvalue="i9" > 9 Iron<optionvalue="pw" > Pitching<optionvalue="sw" > Sand<optionvalue="lw" > Lob<optionvalue="i2" > 2 Iron<optionvalue="w4" > 4 Wood<optionvalue="w7" > 7 Wood<optionvalue="w9" > 9 Wood<optionvalue="w2" > 2 Wood<optionvalue="ut" > Utility


          </select>


          </td>





          <inputtype="Hidden" name="courseid" value="1000R"><inputtype="Hidden" name="gameid" value="200901011000R"><inputtype="Hidden" name="gamedate" value="2009-01-01"><inputtype="Hidden" name="handicap" value="12"><inputtype="Hidden" name="username" value="Rob Hargroves"><inputtype="Hidden" name="day" value="01"><inputtype="Hidden" name="month" value="01"><inputtype="Hidden" name="year" value="2009"><inputtype="Hidden" name="par_hole2" value="3"></tr><p>

          <tr><td>3</td><td>550</td><td>5</td><td>7</td><td><inputtype="text" maxlength="2" size="2" name="gross_score3" value=""></td><td><inputtype="text" maxlength="12" size="15" name="gross_name" value="" disabled></td><td><inputtype="text" maxlength="2" size="2" name="net_score" value="" disabled></td><td><inputtype="text" maxlength="12" size="15" name="net_name" value="" disabled></td><td><inputtype="text" maxlength="3" size="3" name="stableford" value="" disabled></td><td><inputtype="checkbox" name="fairway3" value="1" ></td><td><inputtype="checkbox" name="gir3" value="1" disabled></td><td><inputtype="text" maxlength="2" size="2" name="putt3" value=""></td><td><inputtype="checkbox" name="bunker3" value="1" ></td><td><inputtype="checkbox" name="sandsave3" value="1" disabled></td><td><inputtype="text" maxlength="3" size="3" name="drive3" value=""></td><td><selectname='teeclub3'><optionvalue="dr" > Driver<optionvalue="w3" > 3 Wood<optionvalue="w5" > 5 Wood<optionvalue="i3" > 3 Iron<optionvalue="i4" > 4 Iron<optionvalue="i5" > 5 Iron<optionvalue="i6" > 6 Iron<optionvalue="i7" > 7 Iron<optionvalue="i8" > 8 Iron<optionvalue="i9" > 9 Iron<optionvalue="pw" > Pitching<optionvalue="sw" > Sand<optionvalue="lw" > Lob<optionvalue="i2" > 2 Iron<optionvalue="w4" > 4 Wood<optionvalue="w7" > 7 Wood<optionvalue="w9" > 9 Wood<optionvalue="w2" > 2 Wood<optionvalue="ut" > Utility


          </select>


          </td>





          <inputtype="Hidden" name="courseid" value="1000R"><inputtype="Hidden" name="gameid" value="200901011000R"><inputtype="Hidden" name="gamedate" value="2009-01-01"><inputtype="Hidden" name="handicap" value="12"><inputtype="Hidden" name="username" value="Rob Hargroves"><inputtype="Hidden" name="day" value="01"><inputtype="Hidden" name="month" value="01"><inputtype="Hidden" name="year" value="2009"><inputtype="Hidden" name="par_hole3" value="5"></tr><p>

          <tr><td>4</td><td>442</td><td>4</td><td>1</td><td><inputtype="text" maxlength="2" size="2" name="gross_score4" value=""></td><td><inputtype="text" maxlength="12" size="15" name="gross_name" value="" disabled></td><td><inputtype="text" maxlength="2" size="2" name="net_score" value="" disabled></td><td><inputtype="text" maxlength="12" size="15" name="net_name" value="" disabled></td><td><inputtype="text" maxlength="3" size="3" name="stableford" value="" disabled></td><td><inputtype="checkbox" name="fairway4" value="1" ></td><td><inputtype="checkbox" name="gir4" value="1" disabled></td><td><inputtype="text" maxlength="2" size="2" name="putt4" value=""></td><td><inputtype="checkbox" name="bunker4" value="1" ></td><td><inputtype="checkbox" name="sandsave4" value="1" disabled></td><td><inputtype="text" maxlength="3" size="3" name="drive4" value=""></td><td><selectname='teeclub4'><optionvalue="dr" > Driver<optionvalue="w3" > 3 Wood<optionvalue="w5" > 5 Wood<optionvalue="i3" > 3 Iron<optionvalue="i4" > 4 Iron<optionvalue="i5" > 5 Iron<optionvalue="i6" > 6 Iron<optionvalue="i7" > 7 Iron<optionvalue="i8" > 8 Iron<optionvalue="i9" > 9 Iron<optionvalue="pw" > Pitching<optionvalue="sw" > Sand<optionvalue="lw" > Lob<optionvalue="i2" > 2 Iron<optionvalue="w4" > 4 Wood<optionvalue="w7" > 7 Wood<optionvalue="w9" > 9 Wood<optionvalue="w2" > 2 Wood<optionvalue="ut" > Utility


          </select>

          </td>
          <inputtype="Hidden" name="courseid" value="1000R"><inputtype="Hidden" name="gameid" value="200901011000R"><inputtype="Hidden" name="gamedate" value="2009-01-01"><inputtype="Hidden" name="handicap" value="12"><inputtype="Hidden" name="username" value="Rob Hargroves"><inputtype="Hidden" name="day" value="01"><inputtype="Hidden" name="month" value="01"><inputtype="Hidden" name="year" value="2009"><inputtype="Hidden" name="par_hole4" value="4"></tr><p>


          <tr><td>5</td><td>522</td><td>5</td><td>11</td><td><inputtype="text" maxlength="2" size="2" name="gross_score5" value=""></td><td><inputtype="text" maxlength="12" size="15" name="gross_name" value="" disabled></td><td><inputtype="text" maxlength="2" size="2" name="net_score" value="" disabled></td><td><inputtype="text" maxlength="12" size="15" name="net_name" value="" disabled></td><td><inputtype="text" maxlength="3" size="3" name="stableford" value="" disabled></td><td><inputtype="checkbox" name="fairway5" value="1" ></td><td><inputtype="checkbox" name="gir5" value="1" disabled></td><td><inputtype="text" maxlength="2" size="2" name="putt5" value=""></td><td><inputtype="checkbox" name="bunker5" value="1" ></td><td><inputtype="checkbox" name="sandsave5" value="1" disabled></td><td><inputtype="text" maxlength="3" size="3" name="drive5" value=""></td><td><selectname='teeclub5'><optionvalue="dr" > Driver<optionvalue="w3" > 3 Wood<optionvalue="w5" > 5 Wood<optionvalue="i3" > 3 Iron<optionvalue="i4" > 4 Iron<optionvalue="i5" > 5 Iron<optionvalue="i6" > 6 Iron<optionvalue="i7" > 7 Iron<optionvalue="i8" > 8 Iron<optionvalue="i9" > 9 Iron<optionvalue="pw" > Pitching<optionvalue="sw" > Sand<optionvalue="lw" > Lob<optionvalue="i2" > 2 Iron<optionvalue="w4" > 4 Wood<optionvalue="w7" > 7 Wood<optionvalue="w9" > 9 Wood<optionvalue="w2" > 2 Wood<optionvalue="ut" > Utility


          </select>


          </td>





          <inputtype="Hidden" name="courseid" value="1000R"><inputtype="Hidden" name="gameid" value="200901011000R"><inputtype="Hidden" name="gamedate" value="2009-01-01"><inputtype="Hidden" name="handicap" value="12"><inputtype="Hidden" name="username" value="Rob Hargroves"><inputtype="Hidden" name="day" value="01"><inputtype="Hidden" name="month" value="01"><inputtype="Hidden" name="year" value="2009"><inputtype="Hidden" name="par_hole5" value="5"></tr><p>

          <tr><td>6</td><td>383</td><td>4</td><td>13</td><td><inputtype="text" maxlength="2" size="2" name="gross_score6" value=""></td><td><inputtype="text" maxlength="12" size="15" name="gross_name" value="" disabled></td><td><inputtype="text" maxlength="2" size="2" name="net_score" value="" disabled></td><td><inputtype="text" maxlength="12" size="15" name="net_name" value="" disabled></td><td><inputtype="text" maxlength="3" size="3" name="stableford" value="" disabled></td><td><inputtype="checkbox" name="fairway6" value="1" ></td><td><inputtype="checkbox" name="gir6" value="1" disabled></td><td><inputtype="text" maxlength="2" size="2" name="putt6" value=""></td><td><inputtype="checkbox" name="bunker6" value="1" ></td><td><inputtype="checkbox" name="sandsave6" value="1" disabled></td><td><inputtype="text" maxlength="3" size="3" name="drive6" value=""></td><td><selectname='teeclub6'><optionvalue="dr" > Driver<optionvalue="w3" > 3 Wood<optionvalue="w5" > 5 Wood<optionvalue="i3" > 3 Iron<optionvalue="i4" > 4 Iron<optionvalue="i5" > 5 Iron<optionvalue="i6" > 6 Iron<optionvalue="i7" > 7 Iron<optionvalue="i8" > 8 Iron<optionvalue="i9" > 9 Iron<optionvalue="pw" > Pitching<optionvalue="sw" > Sand<optionvalue="lw" > Lob<optionvalue="i2" > 2 Iron<optionvalue="w4" > 4 Wood<optionvalue="w7" > 7 Wood<optionvalue="w9" > 9 Wood<optionvalue="w2" > 2 Wood<optionvalue="ut" > Utility


          </select>







          </td>





          <inputtype="Hidden" name="courseid" value="1000R"><inputtype="Hidden" name="gameid" value="200901011000R"><inputtype="Hidden" name="gamedate" value="2009-01-01"><inputtype="Hidden" name="handicap" value="12"><inputtype="Hidden" name="username" value="Rob Hargroves"><inputtype="Hidden" name="day" value="01"><inputtype="Hidden" name="month" value="01"><inputtype="Hidden" name="year" value="2009"><inputtype="Hidden" name="par_hole6" value="4"></tr><p>


          <tr><td>7</td><td>186</td><td>3</td><td>15</td><td><inputtype="text" maxlength="2" size="2" name="gross_score7" value=""></td><td><inputtype="text" maxlength="12" size="15" name="gross_name" value="" disabled></td><td><inputtype="text" maxlength="2" size="2" name="net_score" value="" disabled></td><td><inputtype="text" maxlength="12" size="15" name="net_name" value="" disabled></td><td><inputtype="text" maxlength="3" size="3" name="stableford" value="" disabled></td><td><inputtype="checkbox" name="fairway7" value="1" ></td><td><inputtype="checkbox" name="gir7" value="1" disabled></td><td><inputtype="text" maxlength="2" size="2" name="putt7" value=""></td><td><inputtype="checkbox" name="bunker7" value="1" ></td><td><inputtype="checkbox" name="sandsave7" value="1" disabled></td><td><inputtype="text" maxlength="3" size="3" name="drive7" value=""></td><td><selectname='teeclub7'><optionvalue="dr" > Driver<optionvalue="w3" > 3 Wood<optionvalue="w5" > 5 Wood<optionvalue="i3" > 3 Iron<optionvalue="i4" > 4 Iron<optionvalue="i5" > 5 Iron<optionvalue="i6" > 6 Iron<optionvalue="i7" > 7 Iron<optionvalue="i8" > 8 Iron<optionvalue="i9" > 9 Iron<optionvalue="pw" > Pitching<optionvalue="sw" > Sand<optionvalue="lw" > Lob<optionvalue="i2" > 2 Iron<optionvalue="w4" > 4 Wood<optionvalue="w7" > 7 Wood<optionvalue="w9" > 9 Wood<optionvalue="w2" > 2 Wood<optionvalue="ut" > Utility


          </select>


          </td>

          <inputtype="Hidden" name="courseid" value="1000R"><inputtype="Hidden" name="gameid" value="200901011000R"><inputtype="Hidden" name="gamedate" value="2009-01-01"><inputtype="Hidden" name="handicap" value="12"><inputtype="Hidden" name="username" value="Rob Hargroves"><inputtype="Hidden" name="day" value="01"><inputtype="Hidden" name="month" value="01"><inputtype="Hidden" name="year" value="2009"><inputtype="Hidden" name="par_hole7" value="3"></tr><p>

          <tr><td>8</td><td>451</td><td>4</td><td>5</td><td><inputtype="text" maxlength="2" size="2" name="gross_score8" value=""></td><td><inputtype="text" maxlength="12" size="15" name="gross_name" value="" disabled></td><td><inputtype="text" maxlength="2" size="2" name="net_score" value="" disabled></td><td><inputtype="text" maxlength="12" size="15" name="net_name" value="" disabled></td><td><inputtype="text" maxlength="3" size="3" name="stableford" value="" disabled></td><td><inputtype="checkbox" name="fairway8" value="1" ></td><td><inputtype="checkbox" name="gir8" value="1" disabled></td><td><inputtype="text" maxlength="2" size="2" name="putt8" value=""></td><td><inputtype="checkbox" name="bunker8" value="1" ></td><td><inputtype="checkbox" name="sandsave8" value="1" disabled></td><td><inputtype="text" maxlength="3" size="3" name="drive8" value=""></td><td><selectname='teeclub8'><optionvalue="dr" > Driver<optionvalue="w3" > 3 Wood<optionvalue="w5" > 5 Wood<optionvalue="i3" > 3 Iron<optionvalue="i4" > 4 Iron<optionvalue="i5" > 5 Iron<optionvalue="i6" > 6 Iron<optionvalue="i7" > 7 Iron<optionvalue="i8" > 8 Iron<optionvalue="i9" > 9 Iron<optionvalue="pw" > Pitching<optionvalue="sw" > Sand<optionvalue="lw" > Lob<optionvalue="i2" > 2 Iron<optionvalue="w4" > 4 Wood<optionvalue="w7" > 7 Wood<optionvalue="w9" > 9 Wood<optionvalue="w2" > 2 Wood<optionvalue="ut" > Utility


          </select>

          </td>

          <inputtype="Hidden" name="courseid" value="1000R"><inputtype="Hidden" name="gameid" value="200901011000R"><inputtype="Hidden" name="gamedate" value="2009-01-01"><inputtype="Hidden" name="handicap" value="12"><inputtype="Hidden" name="username" value="Rob Hargroves"><inputtype="Hidden" name="day" value="01"><inputtype="Hidden" name="month" value="01"><inputtype="Hidden" name="year" value="2009"><inputtype="Hidden" name="par_hole8" value="4"></tr><p>



          <tr><td>9</td><td>361</td><td>4</td><td>17</td><td><inputtype="text" maxlength="2" size="2" name="gross_score9" value=""></td><td><inputtype="text" maxlength="12" size="15" name="gross_name" value="" disabled></td><td><inputtype="text" maxlength="2" size="2" name="net_score" value="" disabled></td><td><inputtype="text" maxlength="12" size="15" name="net_name" value="" disabled></td><td><inputtype="text" maxlength="3" size="3" name="stableford" value="" disabled></td><td><inputtype="checkbox" name="fairway9" value="1" ></td><td><inputtype="checkbox" name="gir9" value="1" disabled></td><td><inputtype="text" maxlength="2" size="2" name="putt9" value=""></td><td><inputtype="checkbox" name="bunker9" value="1" ></td><td><inputtype="checkbox" name="sandsave9" value="1" disabled></td><td><inputtype="text" maxlength="3" size="3" name="drive9" value=""></td><td><selectname='teeclub9'><optionvalue="dr" > Driver<optionvalue="w3" > 3 Wood<optionvalue="w5" > 5 Wood<optionvalue="i3" > 3 Iron<optionvalue="i4" > 4 Iron<optionvalue="i5" > 5 Iron<optionvalue="i6" > 6 Iron<optionvalue="i7" > 7 Iron<optionvalue="i8" > 8 Iron<optionvalue="i9" > 9 Iron<optionvalue="pw" > Pitching<optionvalue="sw" > Sand<optionvalue="lw" > Lob<optionvalue="i2" > 2 Iron<optionvalue="w4" > 4 Wood<optionvalue="w7" > 7 Wood<optionvalue="w9" > 9 Wood<optionvalue="w2" > 2 Wood<optionvalue="ut" > Utility


          </select>

          </td>





          <inputtype="Hidden" name="courseid" value="1000R"><inputtype="Hidden" name="gameid" value="200901011000R"><inputtype="Hidden" name="gamedate" value="2009-01-01"><inputtype="Hidden" name="handicap" value="12"><inputtype="Hidden" name="username" value="Rob Hargroves"><inputtype="Hidden" name="day" value="01"><inputtype="Hidden" name="month" value="01"><inputtype="Hidden" name="year" value="2009"><inputtype="Hidden" name="par_hole9" value="4"></tr><trclass='menu-bg'><td>OUT</td><td>3505</td><td>36</td><td></td><td>0</td><td></td><td>0</td><td></td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0 *</td><td>&nbsp;</td></tr><p>





          <tr><td>10</td><td>386</td><td>4</td><td>6</td><td><inputtype="text" maxlength="2" size="2" name="gross_score10" value=""></td><td><inputtype="text" maxlength="12" size="15" name="gross_name" value="" disabled></td><td><inputtype="text" maxlength="2" size="2" name="net_score" value="" disabled></td><td><inputtype="text" maxlength="12" size="15" name="net_name" value="" disabled></td><td><inputtype="text" maxlength="3" size="3" name="stableford" value="" disabled></td><td><inputtype="checkbox" name="fairway10" value="1" ></td><td><inputtype="checkbox" name="gir10" value="1" disabled></td><td><inputtype="text" maxlength="2" size="2" name="putt10" value=""></td><td><inputtype="checkbox" name="bunker10" value="1" ></td><td><inputtype="checkbox" name="sandsave10" value="1" disabled></td><td><inputtype="text" maxlength="3" size="3" name="drive10" value=""></td><td><selectname='teeclub10'><optionvalue="dr" > Driver<optionvalue="w3" > 3 Wood<optionvalue="w5" > 5 Wood<optionvalue="i3" > 3 Iron<optionvalue="i4" > 4 Iron<optionvalue="i5" > 5 Iron<optionvalue="i6" > 6 Iron<optionvalue="i7" > 7 Iron<optionvalue="i8" > 8 Iron<optionvalue="i9" > 9 Iron<optionvalue="pw" > Pitching<optionvalue="sw" > Sand<optionvalue="lw" > Lob<optionvalue="i2" > 2 Iron<optionvalue="w4" > 4 Wood<optionvalue="w7" > 7 Wood<optionvalue="w9" > 9 Wood<optionvalue="w2" > 2 Wood<optionvalue="ut" > Utility


          </select>

          </td>





          <inputtype="Hidden" name="courseid" value="1000R"><inputtype="Hidden" name="gameid" value="200901011000R"><inputtype="Hidden" name="gamedate" value="2009-01-01"><inputtype="Hidden" name="handicap" value="12"><inputtype="Hidden" name="username" value="Rob Hargroves"><inputtype="Hidden" name="day" value="01"><inputtype="Hidden" name="month" value="01"><inputtype="Hidden" name="year" value="2009"><inputtype="Hidden" name="par_hole10" value="4"></tr><p>





          <tr><td>11</td><td>492</td><td>5</td><td>18</td><td><inputtype="text" maxlength="2" size="2" name="gross_score11" value=""></td><td><inputtype="text" maxlength="12" size="15" name="gross_name" value="" disabled></td><td><inputtype="text" maxlength="2" size="2" name="net_score" value="" disabled></td><td><inputtype="text" maxlength="12" size="15" name="net_name" value="" disabled></td><td><inputtype="text" maxlength="3" size="3" name="stableford" value="" disabled></td><td><inputtype="checkbox" name="fairway11" value="1" ></td><td><inputtype="checkbox" name="gir11" value="1" disabled></td><td><inputtype="text" maxlength="2" size="2" name="putt11" value=""></td><td><inputtype="checkbox" name="bunker11" value="1" ></td><td><inputtype="checkbox" name="sandsave11" value="1" disabled></td><td><inputtype="text" maxlength="3" size="3" name="drive11" value=""></td><td><selectname='teeclub11'><optionvalue="dr" > Driver<optionvalue="w3" > 3 Wood<optionvalue="w5" > 5 Wood<optionvalue="i3" > 3 Iron<optionvalue="i4" > 4 Iron<optionvalue="i5" > 5 Iron<optionvalue="i6" > 6 Iron<optionvalue="i7" > 7 Iron<optionvalue="i8" > 8 Iron<optionvalue="i9" > 9 Iron<optionvalue="pw" > Pitching<optionvalue="sw" > Sand<optionvalue="lw" > Lob<optionvalue="i2" > 2 Iron<optionvalue="w4" > 4 Wood<optionvalue="w7" > 7 Wood<optionvalue="w9" > 9 Wood<optionvalue="w2" > 2 Wood<optionvalue="ut" > Utility


          </select>


          </td>





          <inputtype="Hidden" name="courseid" value="1000R"><inputtype="Hidden" name="gameid" value="200901011000R"><inputtype="Hidden" name="gamedate" value="2009-01-01"><inputtype="Hidden" name="handicap" value="12"><inputtype="Hidden" name="username" value="Rob Hargroves"><inputtype="Hidden" name="day" value="01"><inputtype="Hidden" name="month" value="01"><inputtype="Hidden" name="year" value="2009"><inputtype="Hidden" name="par_hole11" value="5"></tr><p>





          <tr><td>12</td><td>202</td><td>3</td><td>12</td><td><inputtype="text" maxlength="2" size="2" name="gross_score12" value=""></td><td><inputtype="text" maxlength="12" size="15" name="gross_name" value="" disabled></td><td><inputtype="text" maxlength="2" size="2" name="net_score" value="" disabled></td><td><inputtype="text" maxlength="12" size="15" name="net_name" value="" disabled></td><td><inputtype="text" maxlength="3" size="3" name="stableford" value="" disabled></td><td><inputtype="checkbox" name="fairway12" value="1" ></td><td><inputtype="checkbox" name="gir12" value="1" disabled></td><td><inputtype="text" maxlength="2" size="2" name="putt12" value=""></td><td><inputtype="checkbox" name="bunker12" value="1" ></td><td><inputtype="checkbox" name="sandsave12" value="1" disabled></td><td><inputtype="text" maxlength="3" size="3" name="drive12" value=""></td><td><selectname='teeclub12'><optionvalue="dr" > Driver<optionvalue="w3" > 3 Wood<optionvalue="w5" > 5 Wood<optionvalue="i3" > 3 Iron<optionvalue="i4" > 4 Iron<optionvalue="i5" > 5 Iron<optionvalue="i6" > 6 Iron<optionvalue="i7" > 7 Iron<optionvalue="i8" > 8 Iron<optionvalue="i9" > 9 Iron<optionvalue="pw" > Pitching<optionvalue="sw" > Sand<optionvalue="lw" > Lob<optionvalue="i2" > 2 Iron<optionvalue="w4" > 4 Wood<optionvalue="w7" > 7 Wood<optionvalue="w9" > 9 Wood<optionvalue="w2" > 2 Wood<optionvalue="ut" > Utility


          </select>

          </td>





          <inputtype="Hidden" name="courseid" value="1000R"><inputtype="Hidden" name="gameid" value="200901011000R"><inputtype="Hidden" name="gamedate" value="2009-01-01"><inputtype="Hidden" name="handicap" value="12"><inputtype="Hidden" name="username" value="Rob Hargroves"><inputtype="Hidden" name="day" value="01"><inputtype="Hidden" name="month" value="01"><inputtype="Hidden" name="year" value="2009"><inputtype="Hidden" name="par_hole12" value="3"></tr><p>


          <tr><td>13</td><td>364</td><td>4</td><td>2</td><td><inputtype="text" maxlength="2" size="2" name="gross_score13" value=""></td><td><inputtype="text" maxlength="12" size="15" name="gross_name" value="" disabled></td><td><inputtype="text" maxlength="2" size="2" name="net_score" value="" disabled></td><td><inputtype="text" maxlength="12" size="15" name="net_name" value="" disabled></td><td><inputtype="text" maxlength="3" size="3" name="stableford" value="" disabled></td><td><inputtype="checkbox" name="fairway13" value="1" ></td><td><inputtype="checkbox" name="gir13" value="1" disabled></td><td><inputtype="text" maxlength="2" size="2" name="putt13" value=""></td><td><inputtype="checkbox" name="bunker13" value="1" ></td><td><inputtype="checkbox" name="sandsave13" value="1" disabled></td><td><inputtype="text" maxlength="3" size="3" name="drive13" value=""></td><td><selectname='teeclub13'><optionvalue="dr" > Driver<optionvalue="w3" > 3 Wood<optionvalue="w5" > 5 Wood<optionvalue="i3" > 3 Iron<optionvalue="i4" > 4 Iron<optionvalue="i5" > 5 Iron<optionvalue="i6" > 6 Iron<optionvalue="i7" > 7 Iron<optionvalue="i8" > 8 Iron<optionvalue="i9" > 9 Iron<optionvalue="pw" > Pitching<optionvalue="sw" > Sand<optionvalue="lw" > Lob<optionvalue="i2" > 2 Iron<optionvalue="w4" > 4 Wood<optionvalue="w7" > 7 Wood<optionvalue="w9" > 9 Wood<optionvalue="w2" > 2 Wood<optionvalue="ut" > Utility


          </select>

          </td>





          <inputtype="Hidden" name="courseid" value="1000R"><inputtype="Hidden" name="gameid" value="200901011000R"><inputtype="Hidden" name="gamedate" value="2009-01-01"><inputtype="Hidden" name="handicap" value="12"><inputtype="Hidden" name="username" value="Rob Hargroves"><inputtype="Hidden" name="day" value="01"><inputtype="Hidden" name="month" value="01"><inputtype="Hidden" name="year" value="2009"><inputtype="Hidden" name="par_hole13" value="4"></tr><p>

          <tr><td>14</td><td>408</td><td>4</td><td>8</td><td><inputtype="text" maxlength="2" size="2" name="gross_score14" value=""></td><td><inputtype="text" maxlength="12" size="15" name="gross_name" value="" disabled></td><td><inputtype="text" maxlength="2" size="2" name="net_score" value="" disabled></td><td><inputtype="text" maxlength="12" size="15" name="net_name" value="" disabled></td><td><inputtype="text" maxlength="3" size="3" name="stableford" value="" disabled></td><td><inputtype="checkbox" name="fairway14" value="1" ></td><td><inputtype="checkbox" name="gir14" value="1" disabled></td><td><inputtype="text" maxlength="2" size="2" name="putt14" value=""></td><td><inputtype="checkbox" name="bunker14" value="1" ></td><td><inputtype="checkbox" name="sandsave14" value="1" disabled></td><td><inputtype="text" maxlength="3" size="3" name="drive14" value=""></td><td><selectname='teeclub14'><optionvalue="dr" > Driver<optionvalue="w3" > 3 Wood<optionvalue="w5" > 5 Wood<optionvalue="i3" > 3 Iron<optionvalue="i4" > 4 Iron<optionvalue="i5" > 5 Iron<optionvalue="i6" > 6 Iron<optionvalue="i7" > 7 Iron<optionvalue="i8" > 8 Iron<optionvalue="i9" > 9 Iron<optionvalue="pw" > Pitching<optionvalue="sw" > Sand<optionvalue="lw" > Lob<optionvalue="i2" > 2 Iron<optionvalue="w4" > 4 Wood<optionvalue="w7" > 7 Wood<optionvalue="w9" > 9 Wood<optionvalue="w2" > 2 Wood<optionvalue="ut" > Utility


          </select>


          </td>





          <inputtype="Hidden" name="courseid" value="1000R"><inputtype="Hidden" name="gameid" value="200901011000R"><inputtype="Hidden" name="gamedate" value="2009-01-01"><inputtype="Hidden" name="handicap" value="12"><inputtype="Hidden" name="username" value="Rob Hargroves"><inputtype="Hidden" name="day" value="01"><inputtype="Hidden" name="month" value="01"><inputtype="Hidden" name="year" value="2009"><inputtype="Hidden" name="par_hole14" value="4"></tr><p>


          <tr><td>15</td><td>314</td><td>4</td><td>16</td><td><inputtype="text" maxlength="2" size="2" name="gross_score15" value=""></td><td><inputtype="text" maxlength="12" size="15" name="gross_name" value="" disabled></td><td><inputtype="text" maxlength="2" size="2" name="net_score" value="" disabled></td><td><inputtype="text" maxlength="12" size="15" name="net_name" value="" disabled></td><td><inputtype="text" maxlength="3" size="3" name="stableford" value="" disabled></td><td><inputtype="checkbox" name="fairway15" value="1" ></td><td><inputtype="checkbox" name="gir15" value="1" disabled></td><td><inputtype="text" maxlength="2" size="2" name="putt15" value=""></td><td><inputtype="checkbox" name="bunker15" value="1" ></td><td><inputtype="checkbox" name="sandsave15" value="1" disabled></td><td><inputtype="text" maxlength="3" size="3" name="drive15" value=""></td><td><selectname='teeclub15'><optionvalue="dr" > Driver<optionvalue="w3" > 3 Wood<optionvalue="w5" > 5 Wood<optionvalue="i3" > 3 Iron<optionvalue="i4" > 4 Iron<optionvalue="i5" > 5 Iron<optionvalue="i6" > 6 Iron<optionvalue="i7" > 7 Iron<optionvalue="i8" > 8 Iron<optionvalue="i9" > 9 Iron<optionvalue="pw" > Pitching<optionvalue="sw" > Sand<optionvalue="lw" > Lob<optionvalue="i2" > 2 Iron<optionvalue="w4" > 4 Wood<optionvalue="w7" > 7 Wood<optionvalue="w9" > 9 Wood<optionvalue="w2" > 2 Wood<optionvalue="ut" > Utility


          </select>

          </td>





          <inputtype="Hidden" name="courseid" value="1000R"><inputtype="Hidden" name="gameid" value="200901011000R"><inputtype="Hidden" name="gamedate" value="2009-01-01"><inputtype="Hidden" name="handicap" value="12"><inputtype="Hidden" name="username" value="Rob Hargroves"><inputtype="Hidden" name="day" value="01"><inputtype="Hidden" name="month" value="01"><inputtype="Hidden" name="year" value="2009"><inputtype="Hidden" name="par_hole15" value="4"></tr><p>


          <tr><td>16</td><td>184</td><td>3</td><td>14</td><td><inputtype="text" maxlength="2" size="2" name="gross_score16" value=""></td><td><inputtype="text" maxlength="12" size="15" name="gross_name" value="" disabled></td><td><inputtype="text" maxlength="2" size="2" name="net_score" value="" disabled></td><td><inputtype="text" maxlength="12" size="15" name="net_name" value="" disabled></td><td><inputtype="text" maxlength="3" size="3" name="stableford" value="" disabled></td><td><inputtype="checkbox" name="fairway16" value="1" ></td><td><inputtype="checkbox" name="gir16" value="1" disabled></td><td><inputtype="text" maxlength="2" size="2" name="putt16" value=""></td><td><inputtype="checkbox" name="bunker16" value="1" ></td><td><inputtype="checkbox" name="sandsave16" value="1" disabled></td><td><inputtype="text" maxlength="3" size="3" name="drive16" value=""></td><td><selectname='teeclub16'><optionvalue="dr" > Driver<optionvalue="w3" > 3 Wood<optionvalue="w5" > 5 Wood<optionvalue="i3" > 3 Iron<optionvalue="i4" > 4 Iron<optionvalue="i5" > 5 Iron<optionvalue="i6" > 6 Iron<optionvalue="i7" > 7 Iron<optionvalue="i8" > 8 Iron<optionvalue="i9" > 9 Iron<optionvalue="pw" > Pitching<optionvalue="sw" > Sand<optionvalue="lw" > Lob<optionvalue="i2" > 2 Iron<optionvalue="w4" > 4 Wood<optionvalue="w7" > 7 Wood<optionvalue="w9" > 9 Wood<optionvalue="w2" > 2 Wood<optionvalue="ut" > Utility


          </select>


          </td>





          <inputtype="Hidden" name="courseid" value="1000R"><inputtype="Hidden" name="gameid" value="200901011000R"><inputtype="Hidden" name="gamedate" value="2009-01-01"><inputtype="Hidden" name="handicap" value="12"><inputtype="Hidden" name="username" value="Rob Hargroves"><inputtype="Hidden" name="day" value="01"><inputtype="Hidden" name="month" value="01"><inputtype="Hidden" name="year" value="2009"><inputtype="Hidden" name="par_hole16" value="3"></tr><p>


          <tr><td>17</td><td>499</td><td>5</td><td>10</td><td><inputtype="text" maxlength="2" size="2" name="gross_score17" value=""></td><td><inputtype="text" maxlength="12" size="15" name="gross_name" value="" disabled></td><td><inputtype="text" maxlength="2" size="2" name="net_score" value="" disabled></td><td><inputtype="text" maxlength="12" size="15" name="net_name" value="" disabled></td><td><inputtype="text" maxlength="3" size="3" name="stableford" value="" disabled></td><td><inputtype="checkbox" name="fairway17" value="1" ></td><td><inputtype="checkbox" name="gir17" value="1" disabled></td><td><inputtype="text" maxlength="2" size="2" name="putt17" value=""></td><td><inputtype="checkbox" name="bunker17" value="1" ></td><td><inputtype="checkbox" name="sandsave17" value="1" disabled></td><td><inputtype="text" maxlength="3" size="3" name="drive17" value=""></td><td><selectname='teeclub17'><optionvalue="dr" > Driver<optionvalue="w3" > 3 Wood<optionvalue="w5" > 5 Wood<optionvalue="i3" > 3 Iron<optionvalue="i4" > 4 Iron<optionvalue="i5" > 5 Iron<optionvalue="i6" > 6 Iron<optionvalue="i7" > 7 Iron<optionvalue="i8" > 8 Iron<optionvalue="i9" > 9 Iron<optionvalue="pw" > Pitching<optionvalue="sw" > Sand<optionvalue="lw" > Lob<optionvalue="i2" > 2 Iron<optionvalue="w4" > 4 Wood<optionvalue="w7" > 7 Wood<optionvalue="w9" > 9 Wood<optionvalue="w2" > 2 Wood<optionvalue="ut" > Utility


          </select>

          </td>
          <inputtype="Hidden" name="courseid" value="1000R"><inputtype="Hidden" name="gameid" value="200901011000R"><inputtype="Hidden" name="gamedate" value="2009-01-01"><inputtype="Hidden" name="handicap" value="12"><inputtype="Hidden" name="username" value="Rob Hargroves"><inputtype="Hidden" name="day" value="01"><inputtype="Hidden" name="month" value="01"><inputtype="Hidden" name="year" value="2009"><inputtype="Hidden" name="par_hole17" value="5"></tr><p>



          <tr><td>18</td><td>398</td><td>4</td><td>4</td><td><inputtype="text" maxlength="2" size="2" name="gross_score18" value=""></td><td><inputtype="text" maxlength="12" size="15" name="gross_name" value="" disabled></td><td><inputtype="text" maxlength="2" size="2" name="net_score" value="" disabled></td><td><inputtype="text" maxlength="12" size="15" name="net_name" value="" disabled></td><td><inputtype="text" maxlength="3" size="3" name="stableford" value="" disabled></td><td><inputtype="checkbox" name="fairway18" value="1" ></td><td><inputtype="checkbox" name="gir18" value="1" disabled></td><td><inputtype="text" maxlength="2" size="2" name="putt18" value=""></td><td><inputtype="checkbox" name="bunker18" value="1" ></td><td><inputtype="checkbox" name="sandsave18" value="1" disabled></td><td><inputtype="text" maxlength="3" size="3" name="drive18" value=""></td><td><selectname='teeclub18'><optionvalue="dr" > Driver<optionvalue="w3" > 3 Wood<optionvalue="w5" > 5 Wood<optionvalue="i3" > 3 Iron<optionvalue="i4" > 4 Iron<optionvalue="i5" > 5 Iron<optionvalue="i6" > 6 Iron<optionvalue="i7" > 7 Iron<optionvalue="i8" > 8 Iron<optionvalue="i9" > 9 Iron<optionvalue="pw" > Pitching<optionvalue="sw" > Sand<optionvalue="lw" > Lob<optionvalue="i2" > 2 Iron<optionvalue="w4" > 4 Wood<optionvalue="w7" > 7 Wood<optionvalue="w9" > 9 Wood<optionvalue="w2" > 2 Wood<optionvalue="ut" > Utility


          </select>


          </td>

          <inputtype="Hidden" name="courseid" value="1000R"><inputtype="Hidden" name="gameid" value="200901011000R"><inputtype="Hidden" name="gamedate" value="2009-01-01"><inputtype="Hidden" name="handicap" value="12"><inputtype="Hidden" name="username" value="Rob Hargroves"><inputtype="Hidden" name="day" value="01"><inputtype="Hidden" name="month" value="01"><inputtype="Hidden" name="year" value="2009"><inputtype="Hidden" name="par_hole18" value="4"></tr><trclass='menu-bg'><td>IN</td><td>3247</td><td>36</td><td></td><td>0</td><td></td><td>0</td><td></td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0 *</td><td>&nbsp;</td></tr><trclass='menu-bg'><td>OUT</td><td>3505</td><td>36</td><td></td><td>0</td><td></td><td>0</td><td></td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0 *</td><td>&nbsp;</td></tr><trclass='menu-bg'><td>TOTAL</td><td>6752</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>na</td><td></td><td>na</td><td>na</td><td></td><td>na *</td><td>&nbsp;</td></tr></table><p><inputtype="Hidden" name="out_drive" value="0"><inputtype="Hidden" name="in_drive" value="0"><inputtype="Hidden" name="out_drive_distance" value="0"><inputtype="Hidden" name="in_drive_distance" value="0"><inputtype="Hidden" name="out_putts" value="0"><inputtype="Hidden" name="in_putts" value="0"><inputtype="Hidden" name="error_count" value="0"><inputtype="Hidden" name="total_gross1" value=""><inputtype="Hidden" name="total_net1" value=""><inputtype="Hidden" name="total_stableford1" value=""><inputtype="Hidden" name="total_fairway1" value="na"><inputtype="Hidden" name="total_gir1" value=""><inputtype="Hidden" name="total_putts1" value="na"><inputtype="Hidden" name="total_bunker1" value="na"><inputtype="Hidden" name="total_sandsave1" value=""><inputtype="Hidden" name="longest_drive1" value="na"><inputtype="Hidden" name="tournament" value="0"><inputtype="Hidden" name="calculate" value=""><inputtype="Submit" name="calculate" value="Calculate Score">&nbsp;<inputtype="Submit" name="confirm" value="Confirm Score" DISABLED></form>

          <br><br>


          </td></tr></table>


          <tablewidth='100%' cellpadding='0' cellspacing='0'>


          <tr>


          <tdbgcolor='00008B' align='center'><fontcolor='ffffff'>©2009 - All Rights Reserved Oryan Projects</font></td>


          </tr>


          </table>


          </body></html>
          Kind Regards
          Rob
          www.gnjgf.co.za
          www.oryan-projects.com

          Comment

          • navaldesign
            General & Forum Moderator

            • Oct 2005
            • 12080

            #6
            Re: Script to do a calculation -help

            Rob,

            I still don't understand: what kind of calculation should the code do ? and where is the code that actually does the calculation ??

            All of the above code is nothing else than an input form, I don't see ANY processing (calculating) part.

            So i don't really understand what you mean by "It is not working".

            What is this supposed to calculate ?
            Navaldesign
            Logger Lite: Low Cost, Customizable, multifeatured Login script
            Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
            DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
            Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

            Comment

            • Rob (SA)
              Lieutenant Colonel

              • Nov 2006
              • 586

              #7
              Re: Script to do a calculation -help

              Hi George,

              The page can be veiwed at www.gnjgf.co.za/stevie/Stevie1.html

              Select from the top navigational buttons (Scorecard) you then add your scores played under Gr.Score and it is surposed to highlight the buttons below to do the calculation.

              I hope this helps in getting a little closer to my problem
              Kind Regards
              Rob
              www.gnjgf.co.za
              www.oryan-projects.com

              Comment

              • navaldesign
                General & Forum Moderator

                • Oct 2005
                • 12080

                #8
                Re: Script to do a calculation -help

                Requires login
                Navaldesign
                Logger Lite: Low Cost, Customizable, multifeatured Login script
                Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
                DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
                Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

                Comment

                • Rob (SA)
                  Lieutenant Colonel

                  • Nov 2006
                  • 586

                  #9
                  Re: Script to do a calculation -help

                  hi George,

                  It is the same login that you selected the other day.

                  Or are you saying that it requires another login code?
                  Kind Regards
                  Rob
                  www.gnjgf.co.za
                  www.oryan-projects.com

                  Comment

                  • navaldesign
                    General & Forum Moderator

                    • Oct 2005
                    • 12080

                    #10
                    Re: Script to do a calculation -help

                    Rob, i don't even have it anymore, whatever that was. Sorry
                    Navaldesign
                    Logger Lite: Low Cost, Customizable, multifeatured Login script
                    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
                    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
                    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

                    Comment

                    • Rob (SA)
                      Lieutenant Colonel

                      • Nov 2006
                      • 586

                      #11
                      Re: Script to do a calculation -help

                      Hi George,

                      Try Rob and r0bert
                      Kind Regards
                      Rob
                      www.gnjgf.co.za
                      www.oryan-projects.com

                      Comment

                      • navaldesign
                        General & Forum Moderator

                        • Oct 2005
                        • 12080

                        #12
                        Re: Script to do a calculation -help

                        Ok, I logged in and tested, no calculations of any type are made. How could they, anyway ?? There is no calculating code of any type. Or I'm i blind ?
                        Navaldesign
                        Logger Lite: Low Cost, Customizable, multifeatured Login script
                        Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
                        DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
                        Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

                        Comment

                        • Rob (SA)
                          Lieutenant Colonel

                          • Nov 2006
                          • 586

                          #13
                          Re: Script to do a calculation -help

                          George ,

                          I dont understand that as I am under the impression the calculation should occur.

                          Would a file .inc.php have any influence in this regard.


                          Thank you for taking the time to look - it is so frustrating for me not to know how to fix this.

                          Well anyway we tried
                          Kind Regards
                          Rob
                          www.gnjgf.co.za
                          www.oryan-projects.com

                          Comment

                          • navaldesign
                            General & Forum Moderator

                            • Oct 2005
                            • 12080

                            #14
                            Re: Script to do a calculation -help

                            Rob, There is no calculating code of any kind here. So no calculations can ever be made.

                            IF there was a calculations file to include, IF that was correct, and IF it was included in the correct way and position, then it would perform the calculations.
                            Navaldesign
                            Logger Lite: Low Cost, Customizable, multifeatured Login script
                            Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
                            DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
                            Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

                            Comment

                            • Rob (SA)
                              Lieutenant Colonel

                              • Nov 2006
                              • 586

                              #15
                              Re: Script to do a calculation -help

                              I dont wan to waste your time but would this be part of what we are looking for:

                              PHP Code:
                              <?
                              //this is to ensure that the seqno maintains the leading no
                              function get_name($par,$score){
                                $diff=$score-$par;
                               if ($diff==0) {
                               $name="Par";
                               } elseif ($diff==1) {
                               $name="Bogey";
                               } elseif ($diff==2) {
                               $name="Double Bogey";
                               } elseif ($diff==3) {
                               $name="Triple Bogey";
                               } elseif ($diff>3) {
                               $name="Others";
                               } elseif ($diff==-1) {
                               $name="Birdie"; 
                               } elseif ($diff==-2) {
                               
                               if ($par == 3) { $name="Hole in one"; 
                               } else {
                               $name="Eagle";
                               }
                               
                               } elseif ($diff==-3) {
                               
                               if ($par == 4) { $name="Hole in one"; 
                               } else {
                               $name="Double Eagle";
                               
                               } 
                               
                               } elseif ($diff==-4) {
                               
                               if ($par == 5) { $name="Hole in one"; 
                               } else {
                               $name="Double Eagle";
                               } 
                               
                               }
                                return($name);
                                }//end function
                              //special function to count rate given the duration and the rate number;
                              function count_net($handicap,$score,$index) {
                              if ($handicap > 18) {
                              $twostroke=$handicap-18;
                              $onestroke=$twostroke+1;
                                  if ($index <= $twostroke) {
                                $netscore=$score-2;
                                } elseif ($index >$twostroke) {
                                $netscore=$score-1;
                                }
                               

                              } elseif ($handicap == 18) {
                              $onestroke=18;
                                   $netscore=$score-1;
                              } elseif ($handicap < 18) {
                              $onestroke=$handicap;
                                   if ($index <=$onestroke) {
                                 $netscore=$score-1;
                                 } else {
                                 $netscore=$score;
                                 }
                              }
                               

                              return ($netscore);
                              }//end function
                               
                              ?>
                              Kind Regards
                              Rob
                              www.gnjgf.co.za
                              www.oryan-projects.com

                              Comment

                              Working...
                              X