hi, I have a website in a LINUX Server and i want to connect to MS SQL Server (Windows Server 2003) with PHP. How i can do this with ODBC? The server IP address is "192.168.1.33". Both servers are in the same local network. i want the PHP code for connection, sql query and the results (While and $rows). can anybody give a little help? thanks in advance.
Have you tried using PHP's PDO interface? The following link may be of use to you: http://duncanporterblog.wordpress.com/2013/01/20/apache-php-pdo-ms-sql-on-linux/