Table color problems. Newbie: this is the code I just typed. I originally wanted a line of yellow and a line of colorless, but somehow it turned completely yellow. let's take a look.
';} Else {echo'';}}For ($ j = 1; $ j <=$ I; $ j ++) {$ c = $ I * $ j; echo"
". $ J." * ". $ I." = ". ($ I * $ j ).""." |
";} Echo" ";}?> Reply to discussion (solution)
';}else{echo '';}for($j=1; $j<=$i; $j++){$c = $i * $j;echo "
".$j."*".$i."=".($i*$j)." "." |
" ; }echo " ";}?> |
';}else{echo '';}for($j=1; $j<=$i; $j++){$c = $i * $j;echo "
".$j."*".$i."=".($i*$j)." "." |
" ; }echo " ";}?> |
Thank you.
'; } else { echo '
'; } for($j=1; $j<=$i; $j++) { echo "
".$j."*".$i."=".($i*$j)." "." | "; }echo "
"; echo "";}?>
This is the current code. I don't understand why there is a large piece of space in the browser? Echo" "; Remove this. Not matching echo '
';for($i=1; $i<=9; $i++) { for($n=1; $n<9; $n++){ if($i%2==0) { echo '
'; }else { echo '
'; } } for($j=1; $j<=$i; $j++) { $c = $i * $j; echo "
".$j."*".$i."=".($i*$j)." | " ; } echo "
";}echo '
'; |