Jump to content


Using SQL Server 2008 R2 with PDO

  • Please log in to reply
1 reply to this topic

#1 JezLisle

  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 22 January 2014 - 05:50 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

Attached Files

#2 kicken

  • Gurus
  • Wiser? Not exactly.
  • 3,292 posts
  • LocationBonita, FL

Posted 22 January 2014 - 06:48 PM

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.
Recycle your old CD's, don't trash them!
Did I help you out? Feeling generous? I accept tips via Bitcoin @ 14mDxaob8Jgdg52scDbvf3uaeR61tB2yC7

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users