windows - how to save data/records from html form to DB2 database -



windows - how to save data/records from html form to DB2 database -

this html form

<form class="form-horizontal" id="mycredantials" > <div class="form-group"> <label class="col-sm-2 control-label">username : </label> <div class="col-sm-10 col-md-2"> <input type="text" class="form-control" id="tbusername" placeholder="username"> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label">email : </label> <div class="col-sm-10 col-md-2"> <input type="text" class="form-control" id="tbemail" placeholder="email"> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label">gender : </label> <div class="col-sm-10 col-md-2"> <select id="cbmgender"> <option value="-1">gender</option> <option value="male">male</option> <option value="female">female</option> </select> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label">date : </label> <div class="col-sm-10 col-md-2"> <input type="text" class="form-control" id="tbdate"> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label">price : </label> <div class="col-sm-10 col-md-2"> <input type="text" class="form-control" value="0" id="tbprice" placeholder="prices"> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label">perc % : </label> <div class="col-sm-10 col-md-2"> <input type="text" class="form-control" value="0" id="tbpercentage" placeholder="%"> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label">password : </label> <div class="col-sm-10 col-md-2"> <input type="password" class="form-control" id="tbpassword" placeholder="password"> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label">confirm password : </label> <div class="col-sm-10 col-md-2"> <input type="password" class="form-control" id="tbconfirmpassword" placeholder="confirm"> </div> </div> <div class="form-group"> <div class="col-sm-offset-2 col-sm-10"> <input type="button" class="btn btn-primary " id="btnsubmit" onclick="onsave()" value="save" > <input type="button" class="btn btn-primary " id="btnclear" onclick="onclearerror()" value="remove error" > <input type="button" class="btn btn-primary " id="btnget" onclick="doget()" value="get" > <input type="button" class="btn btn-primary " id="btnget" onclick="dopost()" value="post" > </div> </div> <div style="width:700px;"> <table cellpadding="0" cellspacing="0" border="0" width="700" id="tbl_credantials"> </table> </div> </form>

windows db2

Comments

Popular posts from this blog

php - How to pass multiple values from url -

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

database - php search bar when I press submit with nothing in the search bar it shows all the data -