polyvectorn
05-22-2005, 02:45 AM
I am having an issue connecting to mssql. I am not sure what is going on because it is not throwing an error. It is like it is just freezing. I use this code below (I took the html and other non-related things):
print('[b] testing </b>');
if ($link = @mssql_connect('mssql06.discountasp.net','*****',' ****'))
{
print('Yes');
}
else
{
print('Error');
}
print('done');
I get this as a result:
testing
When I view page source I get:
<html>
[b]
testing
It seems like it hangs up after the if statement. I am sure the username and pass are correct.
print('[b] testing </b>');
if ($link = @mssql_connect('mssql06.discountasp.net','*****',' ****'))
{
print('Yes');
}
else
{
print('Error');
}
print('done');
I get this as a result:
testing
When I view page source I get:
<html>
[b]
testing
It seems like it hangs up after the if statement. I am sure the username and pass are correct.