php ต่อ ingres

http://en.kioskea.net/faq/923-connecting-to-an-ingres-database-with-php
http://www.php.net/manual/en/function.ingres-connect.php

$objConnect = ingres_connect("demodb","ingres","password");
if($objConnect)
{
echo "Database Connected.";
}
else
{
echo "Database Connect Failed.";
}

mssql_close($objConnect);

No comments: