I am using a simple loop that looks like this:
$query = "SELECT * FROM $username";
$result = mysql_query($query) or die(mysql_error());
while($row = mysql_fetch_array($result)){
echo $row['id']. " - ". $row['file'];
echo "<br />";
echo "<form method="post" action="" style="width: 80px">
<input name="Checkbox1" type="checkbox" /><input name="Submit1" type="submit" value="submit" /></form>";
When i run it like this I get an error that the < is unexpected. I believe I may be doing something entirely wrong. Is there some other approach that would output a table within a php loop.
See this line:
Escape quotes (
\") inside strings delimited with the same type of quotes.