Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Trimming irregular characters from forms.

Asked Modified Viewed 1,609 times
L
LOL1
L
LOL1 10
  • Junior Member, joined since
  • Contributed 27 posts on the community forums.
  • Started 9 threads in the forums
  • Started this discussions
asked
Junior Member

I have this

Quote

stripinput(trim($_POST['Whatever'])) : "";


But it allows people to enter such things as '-' and '+' which screw things up. What do I do to remove this?
0 replies

2 posts

L
LOL1
L
LOL1 10
  • Junior Member, joined since
  • Contributed 27 posts on the community forums.
  • Started 9 threads in the forums
  • Started this discussions
answered
Junior Member

And I'm assuming with this stripinput isn't necessary?
0 replies
L
LOL1
L
LOL1 10
  • Junior Member, joined since
  • Contributed 27 posts on the community forums.
  • Started 9 threads in the forums
  • Started this discussions
answered
Junior Member

Alright, thank you. :)
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 2 posts
  • Votes 0 votes
  • Topic users 1 member

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet