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.
この方法を使用して 2 つの値を減算しようとしていますが、うまくいきません。この方法を使用してこれを減算する方法はありますか?
<td>'.$row['sales']-$row['return'].'</td>
括弧で囲みます:
<td>' . ($row['sales'] - $row['return']) . '</td>