0

first time asking here.

In php I need to insert a '$variable' as a string with the '$' sign into a $txt variable.

any ideas?

Thanks

Ján Alexy
  • 41
  • 2

1 Answers1

1

Answer:

  <?php $txt = '$variable' ?>

If you want know more how it works. http://php.net/manual/en/language.types.string.php