PHP Kishan
Code For Beginner
Saturday, 3 February 2018
Set only first letter capital other in lowercase in PHP SQL
$sql = "SELECT concat(left(emp_name,1),substring(lower(emp_name),2)) as emp_name FROM employee";
Input : "Raj Kumar"
Output : "Raj kumar"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment