Using PDO & SQL Server 2008
Posted: Sun Jan 19, 2014 3:06 pm
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
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