text box alphanumeric caracters only


Posted on 16th Feb 2014 07:03 pm by admin

hi all!

I have search on google on how to enter in a test box only caracters A-Z,a-z,0-9 using php, but all the solutions are not for me
I need, if you can help me to allow a user to insert only those caracters and with no space at all, like in username field.

Can you please help me with an example?

Thanks!

No comments posted yet

Your Answer:

Login to answer
98 Like 33 Dislike
Previous forums Next forums
Other forums

Remove values in array2 from array1
I have two arrays.

Array 1 is where the array key holds various different numbers. For exampl

Checking if multidimensional array is empty?
I have a for with multiple test input fields. Specifically the user submits multiple names and ages

Using mysql_real_escape_string for displayed content
On my website users can input data into a textarea and it will store it in the mysql database. But,

php require help needed
Ok i tried to use the search funtion but the word require is everywhere.

i'm really new to cr

Help with writing "$" with fopen
I just can't get my syntax correct. Could someone help me please? I am trying to write a connect fil

DELETE rows based on content
I have a link in my rows

$bit="http://bit.ly/abcd";
$query = mysql_query("D

Checking if variable is 0 as opposed to NULL/Empty...
I'm trying to write some code that will retrieve a user's access level from my database and if it do

Converting numbers to months
The porgram works -just need the last function(month_convert_ to convert numbers to months -thanks.

Libraries in C++
Hi all,

I have two libraries. one is based targeted on linux platform and uses another li

Clean URLs
Hi I was wandering if anyone has ever implemented URLs on their PHP run website using URLS like wiki

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash