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

Sessions Value Not Saved
Hi,

Im making a login form and im using this code:
Code: if($login=="true"){

Help with setcookie()
Merry Xmas to those on this foruum
Older guy here with some experience but not allot so please be

PHP webpage & array print issue
I have this code running, and it works perfectly … however, see my bottom bit about what I see

Variables and Include
Code: [Select]<?php

$header = $_COOKIE['mss']['header'];
$body = $_COOKIE['mss']['b

help removing unwanted graphic
How do I remove the small elongated rectangular shape between the "Latest post" and "

New to Arrays
Hi I am new to PHP (a week and a half now) and I am just beginning to read about arrays. I understan

Need help with an email blocker for a guessbook
I am new with php and here is a simple guessbook page but I am being hit with spam from a group of t

PHP & MS Access - Line Break
Hey Guys!

I'm pulling records from an MS Access database and listing them using PHP and I'm r

pagination numbering pattern
Hello,

I have following code which works great for pagination. but i have small issue now.

Is there a more efficient way to code this than what I have?
I have three associative arrays.

$combinedSettings
$userSettings
$defaultSettings

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