Jump to content

enot

Members
  • Posts

    2
  • Joined

  • Last visited

enot's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. sorry for that..how to include php script into dropmenu?
  2. Hi all i newbie in php and having problem on my php scripts which is to calculate using drop down selection menu..refer to this script below; too complicated to me to do it..pls help my tutorial assignment... basic info : Total premium = land use x acreage (in acre) // which is land use refer to the dropdown selection value; // acreage selection type - if hectares = 2.471 acre Sq metre = acre ? ----script --- <body> <form action="" method="post" name="calculateRLL" target="_blank" id="calculateRLL"> <p>LAND RATE CALCULATOR </p> <table width="910" border="0"> <tr> <td width="133" class="style5">Land Use : </td> <td colspan="2" class="style5"><select name="select" size="1"> <option value="Choose" selected="selected">Please Choose</option> <option value="Ag_town">Agriculture - Town Land (rm5,000 per acre)</option> <option value="Ag_Sub">Agriculture - SubUrban Land (RM2,500 per acre)</option> <option value="Ag_Country">Agriculture - Country Land (RM200 per acre)</option> <option value="Res_Terrace">Residential - Terrace (RM1,000 per unit)</option> <option value="Res_Semi">Residential - Semi Detached (RM3,000 per unit)</option> <option value="Res_Detached">Residential - Detached (RM6,000 per unit)</option> <option value="Com_Primary">Commercial - Primary Town(RM40,000 per unit)</option> <option value="Com_Sec">Commercial - Secondary Town (RM20,000 per unit)</option> <option value="Com_Rural">Commercial -Rural Town (RM10,000 per unit)</option> </select></td> </tr> <tr> <td class="style5"><span class="style5">Acreage *: </span></td> <td colspan="2" class="style5"> <span class="style5"> <label> <input name="Acreage" type="text" id="Acreage" size="13" maxlength="13" /> </label> <label></label> </span> <span class="style5"> <label> </label><label></label> <select name="acrage" size="1" id="acrage"> <option value="None">None</option> <option value="Acres">Acres</option> <option value="Hectares">Hectares</option> <option value="SQMetres">SQ Metres</option> </select> </span> <span class="style5"> <label></label> <label></label> * applicable for Agriculture Land </span></td> </tr> <tr> <td><span class="style5">Total Land Premium : </span></td> <td width="515"> <span class="style5"> <input name="premium" type="hidden" id="premium" /> </span></td> <td width="248"> </td> </tr> <tr> <td><span class="style6"></span></td> <td><span class="style5"> <label> <input name="Calculate" type="submit" id="Calculate" value="Calculate Premium" /> <input type="reset" name="Reset" value="Reset" /> </label> <label></label> </span></td> <td><span class="style6"></span></td> </tr> </table> <p> <label></label> <label></label> <label></label> </p> </form> </body>
×
×
  • 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.