Danh mục

Phát triển web với PHP và MySQL - p 8

Số trang: 10      Loại file: pdf      Dung lượng: 544.23 KB      Lượt xem: 14      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:

PHP Crash Course CHAPTER 1echo $num.”
”; $num++; }451PHP CRASH COURSEAt the beginning of each iteration, the condition is tested. If the condition is false, the block will not be executed and the loop will end. The next statement after the loop will then be executed. We can use a while loop to do something more useful, such as display the repetitive freight table in Figure 1.7. Listing 1.4 uses a while loop to generate the freight table. LISTING 1.4freight.php—Generating Bob’s Freight Table with PHP Distance Cost $distance ”; echo “ ”. $distance / 10 .” ”; $distance +=...
Nội dung trích xuất từ tài liệu:
Phát triển web với PHP và MySQL - p 8

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