Git Product home page Git Product logo

php1-test1-fall-2022's Introduction

PHP1-TEST1-FALL-2022

Đề 8 (thời gian: 60’) BẮT BUỘC đ ể được chấm bài:

  • Tạo thư mục tên MSV_08_WEB2014.
  • Trong quá trình làm bài không tắt VSCode, chỉ để 1 thư mục bài làm trong đó. Không mở lại các bài thực hành cũ.
  1. (1 điểm)Tạo database có tên: masv_exam_2014_08 Tạo 2 bảng sau: types (id, name) rooms (id, name, image, intro, description, number, price, type_id) Yêu cầu
  • id tự động tăng
  • nhập trước bảng types ít nhất 2 bản ghi (ví dụ: single room, double room…)
  1. (2 điểm) Thực hiện chức năng hiển thị danh sásbch phòng (yêu cầu tại đây có nút thêm mới phòng và nút sửa, xóa cho từng phòng)
  2. (3 điểm) Thực hiện chức năng thêm mới phòng Yêu cầu:
    • Tên loại phòng lấy từ database cho vào list
  • Có validate Size, type Image. Type image: jpg, png. Size<=2Mb
  • Có validate number, price là số dương
  1. (3 điểm) Thực hiện chức năng chỉnh sửa phòng – yêu cầu giống thêm phòng (chú ý không update ảnh lên phải giữ lại ảnh cũ)
  2. (1 điểm) Thực hiện chức năng xóa phòng – có confirm

php1-test1-fall-2022's People

Contributors

theshyy1 avatar

Watchers

 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.