Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Đồ họa - Thiết kế - Flash
Giải pháp thiết kế web động với PHP - p 32
Đang chuẩn bị liên kết để tải về tài liệu:
Giải pháp thiết kế web động với PHP - p 32
Nguyên Khôi
57
10
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
GETTING STARTED WITH MYSQL 11. Click Add a new User, and repeat steps 4 through 8 to create a second user account called psread. This user will have much more restricted privileges, so when you get to step 7, check only the SELECT option. The password used for psread in the example files is K1y0mi$u. Creating a database table Now that you have a database and dedicated user accounts, you can begin creating tables. Let s begin by creating a table to hold the details of images, as shown in Figure 10-1. Before you can start entering data, you need to define the. | GETTING STARTED WITH MYSQL 11. Click Add a new User and repeat steps 4 through 8 to create a second user account called psread. This user will have much more restricted privileges so when you get to step 7 check only the SELECT option. The password used for psread in the example files is K1y0mi u. Creating a database table Now that you have a database and dedicated user accounts you can begin creating tables. Let s begin by creating a table to hold the details of images as shown in Figure 10-1. Before you can start entering data you need to define the table structure. This involves deciding the following The name of the table How many columns it will have The name of each column What type of data will be stored in each column Whether the column must always have data in each field Which column contains the table s primary key If you look at Figure 10-1 you can see that the table contains three columns image_id primary key filename and caption. Because it contains details of images that s a good name to use for the table. There s not much point in storing a filename without a caption so every column must contain data. Great Apart from the data type all the decisions have been made. I ll explain the data types as we go along. Defining the images table These instructions show how to define a table in phpMyAdmin. If you prefer to use Navicat SQLyog or a different UI for MySQL use the settings in Table 10-1. 1. Launch phpMyAdmin if it s not already open and select phpsols from the Database dropdown menu in the left frame. Type the name of the new table images in the field labeled Create new table on database phpsols and enter 3 as the Number of fields. As mentioned before phpMyAdmin refers to columns as fields. What it means is how many fields each record has. Then click the Go button. 2. The next screen is where you define the table. Because the images table contains only three columns the options for each column are listed vertically. When you define a table with more
TÀI LIỆU LIÊN QUAN
Bài giảng Phân tích thiết kế giải thuật: Thiết kế thuật toán và Phương pháp trực tiếp - GV. Hà Đại Dương
Bài giảng Phân tích thiết kế giải thuật: Chương 4 - Trịnh Huy Hoàng
Ebook Phần trạm biến áp cấp điện áp từ 220kV đến 500kV: Phần 2 - Tập đoàn điện lực Việt Nam
Bài giảng Phân tích thiết kế và giải thuật - Chương 1: Kỹ thuật phân tích giải thuật
Giáo trình Đánh giá giải pháp thiết kế xây dựng: Phần 2
Bài giảng Kỹ thuật phân tích và thiết kế giải thuật
Phương pháp thiết kế hình dáng thân tàu bằng giải pháp tích hợp các hàm giải tích toán học
Thuyết minh đồ án tốt nghiệp: Trung tâm đồ họa đa phương tiện thành phố Hải Phòng
Nghiên cứu thực trạng công tác thiết kế xây dựng ở Việt Nam và đề xuất giải pháp ứng dụng công nghệ thi công hiện đại trong công tác thiết kế xây dựng
Ebook Phần trạm biến áp cấp điện áp 110kV: Phần 2 - Tập đoàn điện lực Việt Nam
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.