check sql column fiorst text character php code example
Example 1: mysql get first x characters
SELECT LEFT(title , 10) FROM articles;
Example 2: mysql query first character
SELECT author FROM lyrics WHERE author LIKE 'B%';
SELECT LEFT(title , 10) FROM articles;
SELECT author FROM lyrics WHERE author LIKE 'B%';