Re: Forcing sentence start with Capital letter
Posted: Sun Jun 29, 2008 6:13 am
I put that ON an sill have problem. But the scrip works for domain without php.ini, I am not so sure what is in php.ini which stop it to work.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
$data = ucfirst(preg_replace_callback('/\A[a-z]|[.?!]\s*([a-z])/i', create_function('$matches', 'return strtoupper($matches[0]);'), $data));Code: Select all
$_POST["ArabicText"]Code: Select all
$_POST[ArabicText]