Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

odbc_connect

Status
Not open for further replies.

born2b

Programmer
Aug 18, 2013
1
hello
please somebody help me..
i am damn beginner in php

having trouble with odbc_connect statement
my code

<?
$objConnect = odbc_connect("xxxx_test","","");
if($objConnect)
{
echo "Database Connected.";
}
else
{
echo "Database Connect Failed.";
}

odbc_close($objConnect);
?>


when i compile no output display..just blank

please, tq
 
Use full php tags

Code:
<?php 


// code 
?>

Also make sure that error reporting and display are turned on in your php.INI file.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top