intTypePromotion=1
zunia.vn Tuyển sinh 2024 dành cho Gen-Z zunia.vn zunia.vn
ADSENSE

Học php, mysql và javascript - p 11

Chia sẻ: Yukogaru Yukogaru | Ngày: | Loại File: PDF | Số trang:10

56
lượt xem
2
download
 
  Download Vui lòng tải xuống để xem tài liệu đầy đủ

Example 4-31 shows a modified version of the multiplication table for 12 code using such a loop. Example 4-31. A do...while loop for printing the times table for 12 "; while (++$count Notice how we are back to initializing $count to 1 (rather than 0), because the code is being executed immediately, without an opportunity to increment the variable. Other than that, though, the code looks pretty similar. Of course, if you have more than a single statement inside a do...while loop, remember to use curly braces, as in Example 4-32. Example 4-32. Expanding Example 4-31 to use curly braces "; } while (++$count...

Chủ đề:
Lưu

Nội dung Text: Học php, mysql và javascript - p 11

ADSENSE

CÓ THỂ BẠN MUỐN DOWNLOAD

 

Đồng bộ tài khoản
2=>2