problems solved in php