'; //adding more to the end of variable string (Concatenation) .= //How did you add more to the end of a variable using Javascrpit? $html .= " "; //yet another variable $id = 0; //Using a for loop to create a table x by y grid for( $row=0; $row < $grid; $row++){ //creates a row $html .= ""; //Using a for loop to create the individual cells in a row for( $cell=0; $cell < $grid; $cell++){ //a lot more concatenation //
T
$html .= ''; //increment $id $id++; } $html .= ""; } $html .= "
.
hello
"; print $html; ?>