上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 30 下一页
摘要: [代码]When running the code, we will get to error:[代码]So, there is no way to define a private in the interface.How about private method in abstract class?[代码]It doesn't course a anything of error or war... 阅读全文
posted @ 2010-06-02 16:43 DavidHHuan 阅读(679) 评论(0) 推荐(0)
摘要: 代码 阅读全文
posted @ 2010-06-02 15:54 DavidHHuan 阅读(230) 评论(0) 推荐(0)
摘要: Below is PHP code:代码 阅读全文
posted @ 2010-06-01 18:39 DavidHHuan 阅读(649) 评论(0) 推荐(0)
摘要: 代码 阅读全文
posted @ 2010-06-01 18:34 DavidHHuan 阅读(671) 评论(0) 推荐(0)
摘要: The key point to test the google map in localhost is that we need the test key, Ok, the test key is below:[代码]So now we can call the google map via[代码]Have fun! :) 阅读全文
posted @ 2010-05-28 18:59 DavidHHuan 阅读(376) 评论(0) 推荐(1)
摘要: Cut:[代码]Mix:[代码] 阅读全文
posted @ 2010-05-27 10:16 DavidHHuan 阅读(602) 评论(0) 推荐(0)
摘要: When testing in WCAG, the symbol of <b> will take some error, but why? How can we do if we want to bold the font? The answer: use <strong> instead.<strong> is the standard of XHTML, ... 阅读全文
posted @ 2010-05-26 11:27 DavidHHuan 阅读(348) 评论(0) 推荐(0)
摘要: When testing in W3C, we got some errors such as:代码Why?Because in the code, i do as below:[代码]But that, put a block-level element (such as "<p>" or "<table>") inside an inline element (such... 阅读全文
posted @ 2010-05-25 10:52 DavidHHuan 阅读(632) 评论(0) 推荐(0)
摘要: When adding swf in a page as code below:[代码]We got the error in W3C: http://validator.w3.org[代码]Why?Because syntax "embed" is not supported in W3C. Ok, now we try another way to resolve it.try this co... 阅读全文
posted @ 2010-05-21 14:58 DavidHHuan 阅读(370) 评论(0) 推荐(0)
摘要: There are some javascript in below of the page:[代码]When test the page in http://validator.w3.org/#validate_by_uri, we got the warning and error:[代码]Why?We can get the reason here: http://www.w3.org/TR... 阅读全文
posted @ 2010-05-20 16:11 DavidHHuan 阅读(433) 评论(0) 推荐(1)
摘要: Assumed that $old_array is an array.[代码]Pay attention to the code: {set $new_array = $new_array|append($model)}, we have to use "set" to add the value to the array!So wired! 阅读全文
posted @ 2010-05-18 17:20 DavidHHuan 阅读(293) 评论(0) 推荐(1)
摘要: Assume that we have such function:[代码]When we use it as below:代码If we remove the "&" from the function, [代码]The same test code:代码So we got the note that, when using reference in function, we have ... 阅读全文
posted @ 2010-05-15 12:28 DavidHHuan 阅读(308) 评论(0) 推荐(0)
摘要: Which function can be used to format a local timestamp according to a specific locale?The answer is :[代码] 阅读全文
posted @ 2010-05-14 16:43 DavidHHuan 阅读(280) 评论(0) 推荐(1)
摘要: Let say the type of column of "created" is datetime, [代码] 阅读全文
posted @ 2010-05-14 15:47 DavidHHuan 阅读(686) 评论(0) 推荐(1)
摘要: Assuming that image.jpg exists and is readable by PHP, how will the following script bedisplayed if called directly from a browser?[代码]There are four answers: A. As a JPEG imageB. As a binary file for... 阅读全文
posted @ 2010-05-14 15:30 DavidHHuan 阅读(320) 评论(0) 推荐(1)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 30 下一页