this is my code:

$user = "sa";
	$pass = "";
	$host = "192.168.1.246";
	$db ="payroll_hti";
	
	$dbhandle = mssql_connect($host, $user, $pass)
  or die("Couldn't connect to SQL Server on $myServer");

i access from my computer with ip 192.168.1.100

this is my error report:
Unable to connect to your database server using the provided settings.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.