Using PDO for Sql server for PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sogand145
Forum Newbie
Posts: 4
Joined: Sun Mar 04, 2012 9:56 am

Using PDO for Sql server for PHP

Post by sogand145 »

Hi everyone,
i`m using PDO for sql server. when i try to insert data to sql server, any data don`t insert into the table. i don`t know how to insert image(of course image itself not its path, however i know that this act isn`t correct) into db or select image from db?!!! because this issue, any data don`t insert into db...:-(
i need to help so too much...:-(((
Thank u so much ;-)
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Using PDO for Sql server for PHP

Post by requinix »

Do you get any errors? Was it working earlier?
sogand145
Forum Newbie
Posts: 4
Joined: Sun Mar 04, 2012 9:56 am

Re: Using PDO for Sql server for PHP

Post by sogand145 »

hi, sorry for lateness..:(
yes, i can connect to sql server 2008 R2 by pdo successfully , and also can insert image into it, so that in image field in sql server is displayed "Binary Data". but i dont` know how to show it on web page, can you help me? :(((
Post Reply