Update the contents of today's dim sum---php, update cookies---php
Post Code First
Phpfunctiontable () {Echo"; Echo; for$out$out$out ){ $bgcolor$out; $fontcolor$out; Echo; for$in$in$in){ Echo; }; Echo; }; Echo
" "
This is the title of the table.
"(=0; < 10; + + =%2 = = 0? "#ffffff": "green" =%2 = = 0? "#ffffff": "#000000" "
"(=0;<10;++")
". ($out*10+$in). " | " "
" "
"; } table ();?>
This is the code for a PHP-defined function
Tips
1. Note The syntax format of PHP
2. Notice how HTML code is inserted in PHP
3. When using the For loop, be careful to think clearly, the difference between the external loop and the inside loop
http://www.bkjia.com/PHPjc/945534.html www.bkjia.com true http://www.bkjia.com/PHPjc/945534.html techarticle Update the contents of the dessert Today---php, update the dessert---php first paste code? PHP function table () {echo "Table align= ' center ' border= ' 1 ' width= '" cellspacing = ' 0 '; "; echo "Captionh1 This is ...