0

Here is the situation, I'm using PHP programming and MySQLi DB. I want it to be able to search customer name real-time.

When I click the customer name that showed up as I key in letters, it automatically finds the customer's home address and set the value in address text field.

The customer name also will remain to stay in the search text field as the value before I can submit the form to insert it in another table.

Can someone teach me how to do that?

Code sample:

<form name="insert_form" method="POST">
  <label>Search Customer</label>
    <input type="text" name="searchCust"/>    
  <label>Address</label>
    <input type="text" name="addressCust"/>
  <input type="submit" name="insert" value="INSERT"/>
</form>
4

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.