Jump to content

Letters Numbers and I want to add more,


Gayner

Recommended Posts

function lnonly($string) {
$eregi = eregi_replace("([A-Z0-9]+)","",$string);
if(empty($eregi)){
return true;
}
return false;
}

 

So that's only for LEtters and numbers right.

 

 

But I want to add more available characters. like let's say i want people to use the ₧ code, or maybe a @ Sign, how would i add it so it's usable in that string?very confusing

Link to comment
https://forums.phpfreaks.com/topic/183680-letters-numbers-and-i-want-to-add-more/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.