2016-03-31 7 views
1

Düzenle düğmem çalışma sonuçları lbank, neden böyle görünüyor?Düzenle düğmem çalışmıyor çalışma sonuçları lbank, ne gibi görünüyor?

yerine bu benim sözde admn_account.php benim düzenleme kısmına almalı olduğu boş kısmına ve php dosyalarını biriktirmek için söyleyebilirim sadece diğerleri gibi 1 dizine göre bir şeyler şunlardır çoğunlukla kullanarak beni alır? Sadece vahşi bir vuruş değil tüm kodun mevcut olduğu için

 <h2 class="form-signin-heading">Account Management</h2><hr /> 

<table class="table bg-dark"> 
    <thead> 
    <tr> 
     <th>#</th> 
     <th>First Name</th> 
     <th>Last Name</th> 
     <th>Middle Name</th> 
     <th>Address</th> 
     <th>Secret Question</th>   
     <th>Secret Answer</th> 
     <th>Email Address</th> 
     <th>Level of Access</th> 

    </tr> 
    </thead> 
    <tbody> 


<?php 
     $stmt = $user_home->getUserList(); 

     if($stmt->rowCount()>0){ 

      foreach ($stmt as $row){ 

     ?> 
      <tr> 
      <th scope="row"><?echo $row->userID ?></th> 
      <td><?echo $row->userfirstName ?></td> 
      <td><?echo $row->userlastName ?></td> 
      <td><?echo $row->usermiddleName ?></td> 
      <td><?echo $row->userAddress ?></td> 
      <td><?echo $row->usersecretQuestion ?></td> 
      <td><?echo $row->usersecretAnswer ?></td> 
      <td><?echo $row->userEmail ?></td> 
      <td><?echo $row->usertype ?></td> 
      </td> 


      <form method="POST" class="userTransdoConfirm"> 
      <input type="hidden" value="<?echo $row->userfirstName?>" name="id"> 
      </form> 
      </td> </tr>  
     <? 
      } 
     } 

    ?> 
    </tbody> </table> 
</div> 
+0

http://pastebin.com/2hZ6U64R bu Güncelleştirme parçalar için kodlar ve faaliyetler nerede düzenlemek için kodudur – rakisha42

+0

btw edilir? –

cevap

0

, kullanıcının kimliğine gizli girdi değiştirmeyi deneyin.

<form method="POST" class="userTransdoConfirm"> 
    <input type="hidden" value="<?echo $row->userID?>" name="id"> 
</form> 
İlgili konular