even though there is no missing semi colon.?
This question already has an answer here:
Remove all spaces before echo (where the error occured) until semicoln of previous. Usually this issue occure if you copy paste your code from something else. Which also copy some unexpected unprintable characters
while($row2=mysqli_fetch_array($result2)){
$item_id=$row2[2];
$sql3= "SELECT * FROM issue i INNER JOIN stock s ON i.item_id=s.item_no WHERE s.item_no='$item_id'";
$result3= mysqli_query($link, $sql3);
$row3= mysqli_fetch_array($result3);
echo "<div class='row'>
<div class='col-lg-offset-1 col-lg-4'>";
echo $row3[6];
echo "</div>
<div class='col-lg-offset-2 col-lg-4'>";
echo $row3[9];
echo "</div>
</div>";
}
It seems that your code should be
echo "<div class='row'><div class='col-lg-offset-1 col-lg-4'>";
instead of
echo "<div class='row'>
<div class='col-lg-offset-1 col-lg-4'>";
since echo in php is not getting any enclosing quotes due to new line
链接地址: http://www.djcxy.com/p/59454.html上一篇: >或=>
下一篇: 即使没有缺失的分号。?