php read file to create sql