Chosen Solution

So i forgot my code to my iphone and my pc wont recognise it, is there an other way?

You could try restoring it through DFU mode: Plug your phone into your computer with iTunes openPress and hold both the Home Button and the Sleep/Wake Button for 8 secondsAfter 8 seconds, release the Sleep/Wake Button while still holding down the Home Button until the iTunes message “iTunes has detected an iPhone in recovery mode” is displayedFollowing the steps in iTunes, restore your iPhone Note: this will erase all the information on your iPhone and it will be locked to the iCloud account that was signed in to the phone at the time of the restore. Hope this helps!