"); $server = "DB_Firma"; $user = "MvO"; $pass = "vom1"; $toReturn = ""; $Query = "EXEC sps_InsertFirma 'Siemens AG',8712,'Rapperswil','Feuer & Einbruch'"; echo "Connecting SQL Datenbank: ", $server, CRLF; echo "
"; //connect to database $connectionstring = odbc_pconnect($server,$user,$pass); echo $connectionstring , CRLF; // Query RUN to Get ALL Companies echo "Qery Run", CRLF; echo $Query , CRLF; $result = odbc_exec($connectionstring,$Query ); echo $result ," => Result of Query Run" ,CRLF; //disconnect from database echo "Disconnecting SQL Server:"; odbc_close($connectionstring); ?>