I'm having this problem
Uncaught SyntaxError: Unexpected end of input
in this line
<?php ... foreach($res as $row) {echo '<input onclick="selectall('.$j.',"flow'.$row['uid'].'","hi'.$row['uid'].'")" type="submit" class="btn btn-primary btn-user btn-block" value="Update" />';} ?>
Output of that line
<input onclick="selectall(5,"flow9C2748C40A24","hi9C2748C40A24")" type="submit" class="btn btn-primary btn-user btn-block" value="Update" />
The problem is here i think
,"flow'.$row['uid'].'","hi'.$row['uid'].'"
because when i remove it, the problem disappear
Appreciate any help !
<?php ... ?>tags?<?php ... ?>tags'<input onclick="selectall('.$j.',"flow'.$row['uid'].'","hi'.$row['uid'].'")" type="submit" class="btn btn-primary btn-user btn-block" value="Update" />'echostatement for example?echo 'postedcode' ;