Forums
Forums / Plugin: PHP Everywhere / PHP Not Working in Widgets
(@ubergiant)
8 years, 9 months ago
I have the following in a widget:<input name="fields[url]" type="hidden" value="<?php echo $_SERVER['REQUEST_URI']; ?>" />
<input name="fields[url]" type="hidden" value="<?php echo $_SERVER['REQUEST_URI']; ?>" />
Unfortunately, it renders out to be (screenshot because I couldn’t get the characters correct here):
Alex, is this is a bug?
The topic ‘PHP Not Working in Widgets’ is closed to new replies.