Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用此方法减去两个值,但它对我不起作用。知道如何用这种方式减去这个吗?
<td>'.$row['sales']-$row['return'].'</td>
用括号括起来:
<td>' . ($row['sales'] - $row['return']) . '</td>