Right, I should have seen the code you linked in your first post, my bad. You have this line:$dbh = new PDO('mysql:host=localhost:1433;dbname=ItemAssetDB', '', '');
which is, obviously, using PDO to connect to a mysql instance - which isn't what you're trying to do.
First step is to switch that line to:mssql:host=localhost;dbname=testdb
and see what happens.
shany0786 commented: ah thnks this solved my problem +0
hericles 289 Master Poster Featured Poster
hericles 289 Master Poster Featured Poster
hericles 289 Master Poster Featured Poster
hericles 289 Master Poster Featured Poster
hericles 289 Master Poster Featured Poster
hericles 289 Master Poster Featured Poster
strRusty_gal commented: Thank You! +3