Remove spaces

Can you rem die; and try inputting data?

If $_POST array is empty will account for why your script is not doing what you want it to do.

If the word of someone on StackOverflow is correct, the above function will print the data field you requested, which would explain why it doesn’t matter what you do to it, and would explain your comment in #3 that it still outputs even if you remove the code that echoes it.

The same poster suggests using get_sub_field() instead, which returns it as a string (what you want to do) rather than just displaying it.

2 Likes

Using get_sub_field() was the solution!!! Thanks. Damn that was more difficult than it should have been. :slight_smile: thx

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.