Aggiunta link "Torna a lista clienti"
This commit is contained in:
@@ -35,6 +35,7 @@ $result = mysqli_query($conn, $sql);
|
|||||||
<?php
|
<?php
|
||||||
if($result){
|
if($result){
|
||||||
if((isset($_GET["customerId"]) || isset($_GET["orderId"])) && mysqli_num_rows($result) > 0) {
|
if((isset($_GET["customerId"]) || isset($_GET["orderId"])) && mysqli_num_rows($result) > 0) {
|
||||||
|
echo "<a href='index.php'>Torna alla lista clienti</a><br><br>";
|
||||||
echo "<form method='GET' action='index.php'>";
|
echo "<form method='GET' action='index.php'>";
|
||||||
echo "<select id='orderId' name='orderId'>";
|
echo "<select id='orderId' name='orderId'>";
|
||||||
while($row = mysqli_fetch_assoc($result)) {
|
while($row = mysqli_fetch_assoc($result)) {
|
||||||
@@ -42,7 +43,7 @@ $result = mysqli_query($conn, $sql);
|
|||||||
}
|
}
|
||||||
echo "</select>";
|
echo "</select>";
|
||||||
echo "<input type='submit' value='Visualizza Dettagli Ordine'>";
|
echo "<input type='submit' value='Visualizza Dettagli Ordine'>";
|
||||||
echo "</form>";
|
echo "</form><br>";
|
||||||
# Reset index della query
|
# Reset index della query
|
||||||
mysqli_data_seek($result, 0);
|
mysqli_data_seek($result, 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user