';  "> Why doesn't the color show up?-PHP Chinese Network Q&A
Why doesn't the color show up?
Dante
Dante 2019-02-14 17:19:42
0
2
1588

为什么不显示颜色


function test($color1,$color2="red"){

echo '';

for($i=1;$i<11;$i ){

if($i%2==0){

echo '

';

}else{

echo '

';

}

for($j=1;$j<11;$j ){

echo '

';

}

echo '

';

}

return ;

echo '

'.$j.'×'.$i.'='.$i*$j.'
';

}

$a=test('green');

echo $a;

?>


Dante
Dante

我可是要成为PHP大咖的人

reply all (1)
韦小宝

Take a look at the direct output to see if there is any color

  • reply Thank you, I found out last night that it was a problem with single quotes and double quotes. _(¦3 ∠)_ Single quotes are used outside the two lines of tr bgcolor, so the color is not parsed.
    Dante author 2019-02-15 10:30:29
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!