Will restoring my iPhone clear everything?

Will it delete absolutely everything? Like photos, music, Internet history and any passwords to social networking sites, texts, contacts, etc. If not, how do I do that?

Yes it will clear EVERYTHING. So if you would like to keep anything sync it to a pc or something< because its factory reset (Like Brand New).

It didn't when I did it on my iPod it just resetted all my home screen. It didn't delete any data

Yes you could lose everything. But as lobg as you back up your iphone then restore you should be fine

When I did it with my ipod it deleted all the apps and song etc. But it didn't delete my personal details such as bank account, email, address and other things