Hi,
I have just installed PHP and MySQL on IIS 5.1 (throughout this problem I have tried multiple different versions of PHP and MySQL).
I copied the website and the DB I was working on, and it worked correctly, was registering new users to the DB, retrieving data etc. Howveer one of the functions of the site is to insert information into the DB and it is not working, I am getting the failure response each time. I know the code works fine as I have tested it on wampserver on my laptop, and also I have tested it online (the site is going onto the LAN in work so I need to use IIS).
I am hoping someone can point out where I have gone wrong in setting it up?
I have the relevant code below, however this exact code is working fine on multiple different servers (albeit all Apache servers)
I really hope someone can point out what I have done wrong in the setup. All of the other functionality driven by the DB seems to be working fine, and I have PHPmyadmin working fine etc too.