Sunday, January 5, 2020

LIst View DB

LIst View DB

<?php
  $s="select * from `customer`";
$q=getData($conn,$s);
foreach($q as $d){
$id_customer0=$d["id_customer"];
$nama_customer=$d["nama_customer"];
echo"<option value='$id_customer0' ";if($id_customer0==$id_customer){echo"selected";} echo"> $nama_customer($id_customer0)  </option>";
}
?>

No comments:

Post a Comment

Mengganti Icon Marker Di Maps

                                            Creating an icon https://leafletjs.com/examples.html var greenIcon = ...