Hi all. I am a bit of a newbie when it comes to coding PHP, but I am learning...
What do I need to do for the following.. through a form submittal on a previous page, in the first name only blank, I have users at times putting in there full name (ie. underscores, spaces, etc).
Is there a way in PHP to check for 'firstname' input type from the form and check for these spaces or underscores then print a die() message or something for the refusal?
I was looking at php.net and strchr() about it, but the notes they have provided wasnt very useful. Anyone else have an example or way to do this?
Thanks.
-- Michael