Update the content of snacks today-php, update snacks-php. Update the content of snacks today --- php, update snacks --- php first post code? Phpfunctiontable () {echotablealigncentercellspacing0; echocaptionh1 this is the content of snacks updated today --- php, update snacks --- php
Post code first
"; Echo"This is the table title."; For ($ out = 0; $ out <10; $ out ++) {$ bgcolor = $ out % 2 = 0? "# Ffffff": "green"; $ fontcolor = $ out % 2 = 0? "# Ffffff": "#000000"; echo""; For ($ in = 0; $ in <10; $ in ++) {echo"". ($ Out * 10 + $ in )."";}; Echo"";}; Echo"";}Table () ;?>
This is a PHP-defined function code.
Tips:
1. pay attention to the PHP syntax format
2. Note the Html code insertion method in PHP.
3. when using the for loop, consider the differences between the external loop and the internal loop.
Did you paste the code first? Php function table () {echo "table align = 'center' border = '1' width = '000000' cellspacing = '0';"; echo "captionh1 this is...