Am finding it difficult to connect to my database hosted on a remote server(university server)
we are using my php and using ms sql... i have looked up a bunch of connect codes for my sql and also ms sql
they both look similiar but i still cant connect to my database using ms sql codes to the university remote server.
secondly i have uploaded most of my files to sftp server for the university i can run most of my html files but the php dont work and i debugged the code and it said pointed out couldnt connect to server again.
Please can anyone tell me which code exactly i need to connect to mssql server as most people using php use mysql not ms sql
block of code am using
- $connect = mssql_connect("", "","");
- mssql_select_db("");
- $queryreg = mssql_guery("
- INSERT INTO Customer VALUES('Fname','Sname','Telephone','Address','Postcode','Email','Username','Password')
- );
- Die('You have been registered'! <a href='index.html'Return to Hompage");
- }
