Validation


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

Hello

I know this is a really vag question.

I need to have a input field on a form that only submit's if the text inserted starts with any two letters and any four numbers after.

example

se1233

bg1324

gb8733

So these would work.

I know i need to perform some validation, i just need a push in the right direction. i'm not sure what to google.

Any help please.

No comments posted yet

Your Answer:

Login to answer
205 Like 22 Dislike
Previous forums Next forums
Other forums

Thread in PHP
Thread in PHP
Some basic use and basic code for thread in php
This is my question?

Trying to add functions to table
I have this list of characters and I'm trying to figure out what I have to do to put the results of

getting weird error..
okay, I'm getting an error on this particular function, something about the syntax in the mysql LIMI

Bit manipulation program with binary operations
My homework is to create a program to scan in and add binary numbers and print them like so

Frustrated php Newbie
First off, I am pretty much a PHP nub. I can read and understand the language (most of the time) so

Get last modified date of web page
Hai All,

In php how can i get last modified date of a give web page . I have tried to g

login form can you find my error?
registrationform.php seems fine send data to registration.php
registration.php seems fine checks

a very simple php header question (sorry!)
Firstly...I do apologise if this annoys anyone....a header error

I'm do not know php &

unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_
Can anyone view my code and tell me why im getting the error:
Parse error: syntax error, unexpect

Must be a string? Huh, what? HELP?
with the following script, I get
Fatal error: Property name must be a string in /home/content/e/

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