Accept only alpha characters


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

I've got this bit of code ready for accepting a phrase:

Code: if (!eregi ("", $_POST['phrase'])){

but I need it to accept ONLY alphabet characters. No numbers, no spaces, no under scores, no special characters. Anyone care to fill in the blank?

No comments posted yet

Your Answer:

Login to answer
287 Like 11 Dislike
Previous forums Next forums
Other forums

Legal Issues for SAP ERP o ERP in general
Hi experts,

Can someone please help me finding some documentation about legal issues tha

Syntax Help
I'm trying to make a form that edits a php file which contains config settings. I'm using strings t

remove a ; from emails in textarea
Code: <?php

session_start();

$database_host = "localhost&qu

PHP If Else statement for breadcrumb
Hi

I am trying to use a PHP if else statement to display a breadcrumb link on wordpress

UTL File problem
Hi
I have a file in certain path with the following permissions (The file is a dummy file witho

max function question
Hi All
Ihave a table that holds shipment numbers and dates like this

select * from

Help With editting and deleting form
Hallo !!

So look at this image :

http://img194.imageshack.us/img194/8272/snapshot5f.pn

get url?
how do i get the url of the page i'm currently on, on my website.. i think its get header.. how do i

Displaying returned XML in another PHP page
I have an online payment form that will return XML given if a payment is successful or declines. I

Validation
Hello

I know this is a really vag question.

I need to have a input field on a form th

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