Peter Knight Posted December 12, 2018 Share Posted December 12, 2018 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 Link to comment Share on other sites More sharing options...
kongondo Posted December 12, 2018 Share Posted December 12, 2018 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) 2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now