Hai.. i need some help with autonumber

i download a php project and everything is good and i already change most of it but i have a problems with autonumber/id number. i want to edit it. i already make a editing place and save button. but cant save it to database(xampp). if i directly edit it at xampp those id, it will be invisible on system/browser.
im really appreciate it if someone can help me with it.

sorry my english not very good.

You would need to post all the code needed to reproduce the problem, post a sample of your data, what result you are getting for that sample data, and what result you expect for that sample data.

01 ![02|690x340]

02

03

i just upload which i think related. im sorry. i just want to edit that IDNO.

Pictures are for hanging on the wall. Post CODE using the preformatted text button on the post menu.

 }

function doEdit(){
	if(isset($_POST['save'])){

		$work = New Work(); 
		$work->IDNO				= $_SESSION['IDNO'];
		$work->COMPANY 			= $_POST['COMPANY'];
		$work->COMADDRESS 		= $_POST['ADDRESS'];
		$work->DATEHIRED 		= $_POST['DATEHIRED'];
		$work->STATUS 			= $_POST['STATUS'];
		$work->ANNUALINCOME 	= $_POST['ANNUALINCOME']; 
		$work->update($_POST['WORKID']);

		keyactive("work");

		message("[". $_POST['COMPANY'] ."] has been updated!", "success");
		redirect("index.php?active=work");
	} 

sorry boss:innocent:

             <li class="list-unstyled  text-left panel ">
              <div class="panel-heading">Id Number
                <?php echo ': '.$singlestudent->IDNO; ?> 
                <span class="pull-right">
                   <a title="Edit" data-toggle="collapse" data-parent="" href="#collapseOne">Edit <span class="glyphicon glyphicon-pencil"></span></a>
                </span> 
              </div> 
              <div id="collapseOne" class="panel-collapse collapse">
                <div class="panel-body">
                  <div class="form-group">
                      <div class="col-md-8">
                        <label class="col-md-4 control-label" for=
                        "FNAME">IDNO:</label>

                        <div class="col-md-8">
                           <input class="form-control input-xs" id="IDNO" name="IDNO" placeholder=
                              "IDNO" type="text" value="<?php echo  $singlestudent->IDNO; ?>">
                            
                </div>
                </div>
              </div>
              <div class="form-group">
                    <div class="col-md-8">
                      <label class="col-md-4 control-label" for=
                      "idno"></label>

                      <div class="col-md-8"> 
                        <button class="btn btn-primary" name="btnadd" type="submit" ><strong>Save</strong></button>
                     </div>
                    </div>
                  </div> 
             </li>
Sponsor our Newsletter | Privacy Policy | Terms of Service