0

Is it possible to add variables in a php string literal? Something like:

echo "<td>{$j} + {$i}</td>";

or

echo "<td>{$j + $i}</td>";

but neither of those work

DCR
  • 12,959
  • 11
  • 46
  • 96

0 Answers0