我尝试修复它,但仍然收到以下 Parse 错误:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE,
expecting T_STRING or T_VARIABLE or T_NUM_STRING in
这是第 13 行:
<?php
if ($fruitdata['fruit'] == "") {
print "N/A <a href="./add.php?id=<?php print $fruitdata['id']; ?>">Edit</a>"; }
else {
print $fruitdata['fruit'];
}
?>