Issues validating HTML5 within PHP
Error Line 165, Column 188: Start tag for table seen but the previous table is still open.
…e.jpg width='200' height='250' alt=''/></a></td></tr><table class='tabletry' >
✉
Error Line 165, Column 188: Unclosed elements on stack.
…e.jpg width='200' height='250' alt=''/></a></td></tr><table class='tabletry' >
This I am assuming is because it cannot detect there is a closing table tag, which there is. Here is my PHP:
echo "<table class='tabletry' > <tr> <td>$row[1]</td></tr> <tr><td><a href='products.php?productID=".$row[1]."&bask=m'><img src=". $row[2] ." width='200' height='250' alt='' /></a></td></tr>"; $rowsRetrieved++; } while ($rowsRetrieved <= $rowsPerPage & $row = sqlsrv_fetch_array($stmt)); /* Close table. */ echo"</table><br/><br/><br/>";
Why is it that it does not detect the closing table tags? I don't have issues with other elements inside my PHP.
Any help at all would be great, I have tried to think of other ways to do this but I cant get anything working.
Thanks!






Cartoon Clouds
Mountains
Sunrise
Clouds
Green Clouds
None












Help