php - How to add a check box to a row result -
What am I missing
Parse error: syntax error, unexpected 'checkbox' (T_STRING), expected ',' or ';' In C: \ xampp \ htdocs \ index.php on line 70
if (mysql_num_rows ($ result)! == 0) {while ($ row = mysql_fetch_array ($ result )) {Echo '& lt; Tr & gt; & Lt; TD & gt; '$ Line [' help '].' & Lt; / TD & gt; & Lt; TD & gt; '$ Line [' Name '].' & Lt; / TD & gt; & Lt; Td> '.' & Lt; Input type = "checkbox" class = 'form' value = "1" name = "checkbox []" />".'</td> & lt; / tr & gt; ';}}
correct this line
& lt; td & gt; ; '.' & Lt; input type = "checkbox" class = 'form' value = "1" name = "checkbox []" />".'</td>
like this
& lt; Td> '' & Lt; Input type = 'checkbox' class = 'form' value = '1' name = 'checkbox []' />".'</td>
Comments
Post a Comment