Jump to content

Recommended Posts

Posted

I'm looking at the Sanitizer API and don't see a way to echo a field as all lower case. Is that an issue? It seems we can convert to lower case but only if it's separated by an underscore or a hyphen

Thanks

Posted
52 minutes ago, Peter Knight said:

echo a field

What do you mean by this? Echo the value of a field or echo a field name? If the latter, spaces are not allowed in field names (neither are hyphens; only underscores). If the former, you can just use these PHP functions strtolower or mb_strtolower (for multibyte support)

  • Like 2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...