Create Trigger in phpMyAdmin
CREATE TRIGGER nomCltInsert
BEFORE INSERT ON client
FOR EACH ROW
UPDATE client
SET
NEW.NomClient = UPPER(NEW.NomClient),
NEW.PrenomClient = CONCAT( UPPER( LEFT(NEW.PrenomClient,1) ) , LOWER( SUBSTR( NEW.PrenomClient,2 ) ) );
CREATE TRIGGER nomCltUpdate
BEFORE UPDATE ON client
FOR EACH ROW
UPDATE client
SET
NEW.NomClient = UPPER(NEW.NomClient),
NEW.PrenomClient = CONCAT( UPPER( LEFT(NEW.PrenomClient,1) ) , LOWER( SUBSTR( NEW.PrenomClient,2 ) ) );