<?php 
$currentCustomer = $_GET['id'];
$dati = $connection->query("SELECT * FROM customers WHERE id = '$currentCustomer'");
$info = $dati->fetchAll();
$customerName = $info[0]['name'];
?>
<div class="kt-portlet kt-portlet--mobile">
	<div class="kt-portlet__body">
<form id="kt_form" action="be_services/customers/edit_customer.php" method="POST">
<div class="form-group">
	<input type="hidden" name="id" value="<?php echo $currentCustomer; ?>">
																	<label>Nome cliente</label>
													<input type="text" class="form-control" name="customerName" placeholder="Inserisci il nome del cliente" value="<?php echo $customerName; ?>">
																</div>
																<div class="form-group">
																</div>

<button class="btn btn-success btn-md btn-tall btn-wide kt-font-bold kt-font-transform-u" data-ktwizard-type="action-submit">
															Modifica cliente
														</button>
													</form>
												</div>
												</div>

<script type="text/javascript" charset="UTF-8" src="assets/js/pages/customer/edit_customer.js"></script> 