Mailinglisten-Archive |
This is a multi-part message in MIME format. --------------1733532CF117D0E07390DFDE Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit At 17:43 21.04.99 +0200, Alexander Meis wrote: >>hi... >> >> $hostname = "dein.sqlserver.de"; >> $username = "deinusername"; >> $password = "deinuserpasswort"; >> $dbName = "deinegewünschtedb"; >> >> mysql_connect( "$hostname", "$username", "$password"); >> _(at)_mysql_select_db( "$dbName") or die( "Unable to select database"); ^^^^^^ >besser wäre ein mssql_connect(...) und mssql_select_db(...) >es is ein mssql- und kein mysql-server ;) > >Gruss > Domas Diesen Tip bin ich gefolgt, aber leider klappt es irgendwie noch nicht. mein Source: <? $hostname = "192.9.200.188"; $username = "test"; $password = "db_con"; $dbName = "itdffm3"; mssql_connect("$hostname", "$username", "$password"); _(at)_mssql_select_db("$dbName") or die("Unable to select Database"); $result = mssql_query("select * from dbo.Customer"); ?> ERROR: ----------- Fatal error: Call to unsupported or undefined function mssql_connect() in /usr/local/httpd/htdocs/ACC/ms_sql_connect.php3 on line 9 Wisst ihr vielleicht woran es liegen koennte ? TT --------------1733532CF117D0E07390DFDE Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Thu Thuy Dang Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: Thu Thuy Dang n: Dang;Thu Thuy org: Interoute Telecom Deutschland GmbH email;internet: thu-thuy.dang_(at)_interoute.de title: Applikation/Web-Server-Administratorin tel;work: 069/669838-478 x-mozilla-cpt: ;0 x-mozilla-html: FALSE version: 2.1 end: vcard --------------1733532CF117D0E07390DFDE--
php::bar PHP Wiki - Listenarchive