Car not starting

I have a 98 toyota camry. It is an automatic 4 cylinder. I had recently replaced my battery because my car was not starting. I replaced it at walmart and while I was there they checked the starter and alternator and they said they were both good. But my car is still not starting right. It makes the clicking sound and after several!!! tries it finally turns over. Any ideas what it might be???

Bad connections between the battery and the anything else or bad connections between the starter and battery or ground might cause the problem.

I second that Beads. I think that you (OP) should clean all contact points . . . make everything clean and you’ll see a big difference. Don’t forget the ground. Rocketman