Chapman Posted January 5, 2010 Report Share Posted January 5, 2010 ja man kods ir šāds: <?php $server = 'PC-4CE06ADA2A22\SQLEXPRESS'; $SQLUser = 'sa'; $SQLpw = 'lamer1'; // Connect to MSSQL $link = mssql_connect($server, $SQLUser, $SQLpw); if (!$link) { die('Nevar pieslēgtiess Serverim!'); } ?> tad kāpēc man izmet šādu error: Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\index.php on line 7 kas nepareizi mssql_connect funkcijaa? Link to comment Share on other sites More sharing options...
Grey_Wolf Posted January 5, 2010 Report Share Posted January 5, 2010 tad kāpēc man izmet šādu error: Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\index.php on line 7 kas nepareizi mssql_connect funkcijaa? Tapec ka PHP nav noradiits MSSSQL modulis.... Precizak vinsh vienkarshi nav pieinstalets.. Ja OS ir WIN tad meklee PHP.ini faila ~~aptuveni shadu rindinju extension=php_mssql.dll un nonjem prieksaa ; Var gadities ka vinja nemaz netrodas, un arii pasha pievienojamaa modulja vispar nav.. Ja nav pasha modulja tad sameklee ieksh PHP.Net attieciigas versijas Pilno paku (ZIP) un tur vajadzetu buut ieksaa P.S. Gan ini faila uzbuve gan extensiju daudzums ,Tas viss stipri atkariigs no PHP versijas, kaa arii no ta kadu paku izmanto ( ar win instaleri , pakaa ir krietni mazak ehtensiju ) Link to comment Share on other sites More sharing options...
Chapman Posted January 5, 2010 Author Report Share Posted January 5, 2010 viss sanak :) php.ini nebiju iesledzis mssql! var TC Link to comment Share on other sites More sharing options...
Recommended Posts