After following, you can keep track of his dynamic information in a timely manner
Courses in the relevant section:Reference to parameters of php custom function
<?php echo '<table border="1">'; function table($row=10,$color='red'){ for($a=0;$a<$row;$a++){ echo '<tr>'; for($b=0;$b<$row;$b++){ if($a%2==0){ echo '<td bgcolor="'.$color.'">'.$b.'</td>'; }else{ echo '<td>'.$b.'</td>'; } } echo '</tr>'; } } echo table(5,blue); echo '</table>' ?>
2019-03-070個(gè)贊