Giter Club home page Giter Club logo

angularjs-autocomplete's Introduction

Tạo Form Autocomplete với AngularJS và PHP

Yêu Cầu

Máy tính cần được cài đặt PHP, MySQL và web server (Apache hoặc NginX).

Thiết Lập Ứng Dụng

Để có thể chạy được ứng dụng bạn cần hoàn tất các bước thiết lập dưới đây:

Bước 1: Tạo database cho ứng dụng với tên angular_autocomplete. Bước 2: Import dữ liệu vào database mới tạo sử dụng file angular_autocomplete.sql kèm trong source code. Bước 3: Mở file config_db.php và thay đổi các giá trị của biến $user$password của user có trên MySQL trên máy local.

Sau đó truy cập vào địa chỉ URL chạy ứng dụng để kiểm tra lại bằng cách nhập chữ cái j vào ô tìm kiếm nếu thiết lập đúng bạn thấy một menu sổ xuống với một item trong menu với giá trị là John Doe.

Links

Tham khảo giải thích về source code này tại địa chỉ bài viết Tạo Chức Năng Autocomplete trong AngularJS với PHP và MySQL.

Nguồn: Codehub.vn.

angularjs-autocomplete's People

Contributors

trankhanhtk avatar

Stargazers

quan duong avatar

Watchers

James Cloos avatar Khanh Tran avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.