We have very simple and automated ways to do things in Wysija.
Coding is not necessary !
If you want to add the subscription form in a page or post. Please do not use this php code.
Instead, from the text editor of your page/post follow the tutorial here: