I think you should specify the path of your MDB file..

Dli ko sure ha ....  ky noobs jpon ko.. :p

::peace::


On 4/11/07, Archangel <[EMAIL PROTECTED]> wrote:



On 4/10/07, Camilo III Lozano <[EMAIL PROTECTED]> wrote:
>
> wala na nako basaha tanan replies diri.. murag ang nice nimo gamiton kay
> ADODB.. try gani.. mas dali..
>
> http://adodb.sourceforge.net/
>
>
> =================
>
> > _________________________________________________
> > Kagay-Anon Linux Users' Group (KLUG) Mailing List
> > [email protected] ( http://cdo.linux.org.ph)
> > Searchable Archives: http://archives.free.net.ph
> >
>
>
>
> --
> ==================
> Mobile #: 0916-3338326
> Telephone #:
>    Iligan City: (063) 221-1122
>    Cagayan de Oro City: (088) 350-7211
>
> http://www.metacatalyst.org
> http://www.zabyer.org
>
> -------
> Got my Own Hacker Key:
> v3sw3BHhw5ln2pr5OFPck3ma2u4MLw5XVm+5l5UCi5Ne4t3b5en5g5RaIs5MSr3p2
> http://www.hackerkey.com
>
> Registered Linux User: #439468
> _________________________________________________
> Kagay-Anon Linux Users' Group (KLUG) Mailing List
> [email protected] ( http://cdo.linux.org.ph)
> Searchable Archives: http://archives.free.net.ph
>


cams... g try nako ang ni.. tapos i got this error... can you help me
out?(or anyone..please..)

>this is the error..
*Warning*: odbc_connect() 
[function.odbc-connect<http://localhost/crystal/adodb/function.odbc-connect>]:
SQL error: [Microsoft][ODBC Microsoft Access Driver] Could not find file
'(unknown)'.

>my code

<?php
    include('adodb.inc.php');
    $db =& ADONewConnection('access');
 $dsn = "Driver={Microsoft Access Driver (*.mdb)};Dbq=FProduction.mdb
;Uid=Admin;Pwd=;";
 $db->Connect($dsn);

    $db->debug = true;
    $ADODB_FETCH_MODE = ADODB_FETCH_NUM;
 $sql = 'select * from Production_Data';
 $rs = $db->Execute($sql);
 foreach($rs as $k => $row) {
 echo "r1=".$row[0]." r2=".$row[1]."<br>";
 }
?>





unsay sayop?




--
ArchAngel

_________________________________________________
Kagay-Anon Linux Users' Group (KLUG) Mailing List
[email protected] (http://cdo.linux.org.ph)
Searchable Archives: http://archives.free.net.ph




--
In the game of life, it's a good idea to have a few early losses, which
relieves you of the pressure of trying to maintain an undefeated season.
_________________________________________________
Kagay-Anon Linux Users' Group (KLUG) Mailing List
[email protected] (http://cdo.linux.org.ph)
Searchable Archives: http://archives.free.net.ph

Reply via email to