Hello,
I added the following code and I'm getting a duplicated result already in the Live preview

echo "test";

PHP code: test
PHP code: test
PHP code: test
PHP code: test
PHP code: test
PHP code: test
...

and so on....

What can I do?

Comments

infojunkie’s picture

Status: Active » Closed (works as designed)

The code in the the custom field is evaluated once for each row in the view result. There must have been 47 rows in your view. If you want something that is evaluated once per view, try the view header or footer.