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
  • 14,737
  • 12
  • 52
  • 115

0 Answers0