You're welcome.
ohwell i have learnt from my mistake and next time i will make a backup of the iphone and just copy it back in once a reformat is done or if i buy a new PC.
Having your iPhone's backup available and restoring it from your computer's backup after reformatting your computer's hard drive has no effect on this and won't change it.
Copied from my previous post.
+In regards to iTunes content, an iPhone can be synced or manually managed with an iTunes library on a single computer only, and photos can be transferred from a single computer only. When transferring iTunes content and photos from another computer, all iTunes content and photos transferred from a different computer will be erased from your iPhone first, but your entire iPhone is not erased when doing so.+
+After reformatting your computer's hard drive, your computer is detected as a new or different computer by your iPhone.+
thinking about it, where is the backup for the iphone located and is it as simple as copying it into an external hard drive and then copying it back over when its ready?
This link provides the data included with your iPhone's backup along with the location of the backup on your computer's hard drive but again, having access to your iPhone's backup would not have changed anything in this situation.
http://support.apple.com/kb/HT1766