Hi
I'm getting errors in my code below... I query my database and depending upon the number of results('$numrows'), thats how many rows are displayed for the user to select(they can only select one, so thats why I'm using Radio buttons instead of check boxes). The results of the array are then displayed in the dynamically created row. However, because of the double quotes after my echo statements, I'm getting parse errors. My question is how do I get around this while still maintaining the format of my table?
<form name="form1" method="post" action="something.php3">
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td width="6%"> </td>
<td width="23%">
<div align="center"><b><u>Title</u></b></div>
</td>
<td width="10%">
<div align="center"><b><u>Genre</u></b></div>
</td>
<td width="20%">
<div align="center"><b><u>Logline</u></b></div>
</td>
<td width="24%">
<div align="center"><b><u>Comments</u></b></div>
</td>
<td width="17%">
<div align="center"><b><u>Email</u></b></div>
</td>
</tr>
<?
for ($i=0; $i<$numrows; $i++) {
echo "<tr>";
//This is where I'm getting the parse error:parse error, expecting ','' or';''
echo "<td width="6%">";
echo "<input type="radio" name="radiobutton" value="radiobutton">";
echo "</td>";
echo "<td width="23%">$theTITLE</td>";
echo "<td width="10%">$theGENRE</td>";
echo "<td width="20%">$theLOGLINE</td>";
echo "<td width="24%">$theCOMMENTS</td>";
echo "<td idth="17%">$theEMAIL</td>";
echo "</tr>";
}
?>
thanks in advance,
Sadz
</table>
<input type="submit" name="Submit" value="Submit">
<br>
</form>