Hi!
i have an oracle Database and i wanted to use odbc functions i tried it but 
it gives me faile to connect, so i tried an access Database that i put in 
dsn system etc
and i still have the same error!
here is the code :


if (($res = Odbc_Connect("WebZine","kaab","kaab")==0))
{
        print ("Couldn't connect to database\n");
        exit ();
}

echo $res;
$sql  = "Select * subscribe";
if ($res <> 0)
{
$id = Odbc_Exec($res, $sql);
$row=1 ;
while (Odbc_Fetch_Row($id,$row))
{    $emaildb   = Odbc_result($id,3); echo $emaildb;}
Odbc_Close($res) ;
}
Thanks
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to