By ptera on
When I paste this into the body of the node...
print "mac: " . $_POST["mac"] ."<br/>";
I get this when I view it...
print "mac: " . $_POST["mac"] ."<br/>";
I have looked around but can not find any where on how to get php commands like this to work.
Any help?
[Moved to appropriate forum: nevets]
Comments
Have you enable the 'PHP
Have you enable the 'PHP filter' module?
Under Input filters (for body text) did you select 'PHP Code'?
I've also faced the same
I've also faced the same problem,
and I've untick the Convert line breaks into HTML (i.e.
and
)
and the authenticated userat the PHP filter configuration
and everything works fine now.