JezLisle Posted January 22, 2014 Share Posted January 22, 2014 Hi, this is my first post here...I've started to use PDO in my latest project, it's different coding from what I've done previously.I have a registration form which the user inputs relevant details to register on the site. This seems to connect to the SQL Server database, run through all the code, tell the user the details have been added. When I check the database there are no records input. Why would this be, I have checked the generated SQL string manually and it will insert the record. I have also done a simple connection and select * from table to check what records are in the table, that works ok and returns all records.I just can't see why it doesnt insert.Attached is a copy of the site to make it eaiser for people to see what I have devdb.zip Quote Link to comment https://forums.phpfreaks.com/topic/285595-using-sql-server-2008-r2-with-pdo/ Share on other sites More sharing options...
kicken Posted January 22, 2014 Share Posted January 22, 2014 Yea, nobody is going to dig through your entire site to help you. Paste just the relevant portions of your code. The bit where you generate the insert and execute it. Quote Link to comment https://forums.phpfreaks.com/topic/285595-using-sql-server-2008-r2-with-pdo/#findComment-1466213 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.