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

Help with php code
Hello, can anyone tell me why this php word trap fails to work,
and the trigger words get blow r

php code generators
All

Whilst enjoying learning a new language i have come accross a number of free code generat

split string
Hi all

i have some names (imploded by comma):
Code: toronto,paris,madrid
Now, i would

convert pps to wsf with php'how?
hi
i want to convert with php
PowerPoint file to swf file(flash)
how please?
thank!!!

Mass activity scheduling
Hi experts,

Im facing some problems to deal with mass activity jobs.
When I run some

reorder sql query
ok so i have this very simple code:
Code: $query = "SELECT search_keywords, COUNT(search_key

Email Form Syantax Issue 2
How to make this look FROM:"OUR TEAM" instead of FROM:abc@mail.com

$headers = "

SAP Logon Failed
I tried to login to SAP through MMC.

When i click start and give password.

it

How to use Substr
I want to check for the word CATEGORY: inside a string which can be CATEGORY: ITEM
and remove the

need a script for 3 pages
I have a customer who wants me to set up a site with a number of pages with the following requiremen

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