我有两个edittext
的数量和百分比。当我输入edittext
的百分比时,edittext
的百分比应该改变,反之亦然。如何实现呢?
答案 0 :(得分:0)
这是实现它的方法。
<div class="row">
<?php
$stmt = $DB_con->prepare('SELECT userID, userName, userItemName, userItemPrice, userItemQuantity, userItemDetails, userCustomerID, userPic FROM upload_tbl_users ORDER BY userCustomerID DESC');
$stmt->execute();
if($stmt->rowCount() > 0)
{
while($row=$stmt->fetch(PDO::FETCH_ASSOC))
{
extract($row);
?>
<div class="col-xs-3">
<p class="page-header"><?php echo $userName." / ".$userItemName; ?></p>
<a target="_blank" href="user_images/<?php echo $row['userPic']; ?>" />
<img src="user_images/<?php echo $row['userPic']; ?>" class="img-rounded" width="250px" height="250px" />
<p class="page-header">
<span>
<a class="btn btn-info" href="editform.php?edit_id=<?php echo $row['userCustomerID']; ?>" title="click for edit" onclick="return confirm('sure to edit ?')"><span class="glyphicon glyphicon-edit"></span> Edit</a>
<a class="btn btn-danger" href="?delete_id=<?php echo $row['userCustomerID']; ?>" title="click for delete" onclick="return confirm('sure to delete ?')"><span class="glyphicon glyphicon-remove-circle"></span> Delete</a>
</span>
</p>
</div>
<?php
}
}
else
{
?>
<div class="col-xs-12">
<div class="alert alert-warning">
<span class="glyphicon glyphicon-info-sign"></span> No Data Found ...
</div>
</div>
<?php
}
?>
</div>