Join the Stack Overflow Community
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.
Join them; it only takes a minute:
Sign up
<?php
$conn = odbc_connect("Driver={SQL Server Native Client 10.0}; Server=212.100.247.136; Database=kinley;", 'kinleyuser', 'kinley123@');
if (!$conn)
{
echo ('No');
}
else
{
echo ('yes');
}
?>

Kindly help with this. Problem in mssql and php connection for the first time

share|improve this question

marked as duplicate by DCoder, Yogesh Suthar, Jocelyn, Baz, MrCode Apr 4 '13 at 14:58

This question was marked as an exact duplicate of an existing question.

2  
wheres the code? – Kaii Apr 4 '13 at 10:18
    
please add your mysql code. – Bharat Chodvadiya Apr 4 '13 at 10:19
1  
which is line 6? – Yogesh Suthar Apr 4 '13 at 10:21
2  
Repeating the same question over and over is not going to give you more answers. – DCoder Apr 4 '13 at 10:23

Use this.

<?php
$conn = odbc_connect("Driver={SQL Server Native Client 10.0}; Server=212.100.247.136; Database=kinley;", 'kinleyuser', 'kinley123@');
if (!$conn)
{
 echo 'No';
}
else
{
 echo 'yes';
}
?>
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.