I have table in database "customer"
and this columns:
id, name, father_name, surname, adress
I want, in select box will be name (father_name) surname, and when I select that I want to autopopulate text input filed "adress". So, I need help with showing value in input field "adress". I use this to make drop down select box:
$link = dbConnect();
$query ="SELECT * FROM customer";
$result = mysqli_query($link,$query)
<select name="customer" >
<?php while ($line = mysqli_fetch_array($result
, MYSQL_ASSOC)): ?>
<option value="<?php echo $line['ime'];?>" "><?php echo $line['ime'];?> <?php echo $line['surname'];?></optio
<?php endwhile; ?>
Please help me with this, I try this from this link:
but not success.