Danh mục

Giải pháp thiết kế web động với PHP - p 49

Số trang: 10      Loại file: pdf      Dung lượng: 465.45 KB      Lượt xem: 9      Lượt tải: 0    
tailieu_vip

Hỗ trợ phí lưu trữ khi tải xuống: 1,000 VND Tải xuống file đầy đủ (10 trang) 0
Xem trước 2 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

AUTHENTICATING USERS WITH A DATABASERegistering new users in the databaseTo register users in the database, you need to create a registration form that asks for a username and password. The processing script needs to validate the user input before inserting it in the database. MySQL returns an error if an attempt is made to insert a username that s already in use because the username column has been defined with a UNIQUE index. The script needs to detect the error and advise the user to choose a different username.PHP Solution 17-1: Creating a user registration formThis PHP solution shows how...
Nội dung trích xuất từ tài liệu:
Giải pháp thiết kế web động với PHP - p 49

Tài liệu được xem nhiều: