Chosen Solution
when i pot my iPhone in the Charger, it starts for a few seconds then it shut down and never turn on even when the battery is full !! i have no idea about the problem.
When it is at the apple logo, try unplugging the charger. If the apple logo disappears immediately then the battery may be at fault. You can get the part from here: iPhone 5 Battery Replacement guide: How to replace your iPhone 5 battery