Php String Functions Used In Sql