Php auto-completion & lt; tr & gt; and other tags I have a code like this & lt ;? Php & nbsp; for ($ I & nbsp ;=& nbsp; 0 & nbsp ;;& nbsp ;$ I & nbsp; & lt; & nbsp; 10 & nbsp; & nb php auto-completionTag issues
I have a piece of code like this.
for($i = 0 ; $i < 10 ; $i++)
{
if($i % 2 == 0)
{
echo "";
}
echo "@#$%^&*$%^&";
if($i % 2 == 0)
{
echo "";
}
}
?>
I want to create a table with five rows and two columns in each row
In the end, ten rows and one column in each row are created.
But when I do this:
for($i = 0 ; $i < 10 ; $i++)
{
if($i % 2 == 0)
{
echo "";
}
echo "@#$%^&*$%^&";
}
?>
The script automatically generates the tr end tag.
This is annoying. when I want to create a more complex table, I cannot tell which labels will be automatically generated, which will not, and the last generated tables will be messy.
Is there any way to make it not automatically generated.
------ Solution --------------------
It is best not to use tables to control the data, but how nice it is to use li or the like. Otherwise, we will judge what we have judged in the past...