Subject Re: ERROR MESSAGE : Warning: ibase_query()
Author anna_ppalm
DUH !!!!

You are right. My table is MYDB_TB.

Thanks,

Anna

Another problem now. If cannot fix I will post it :)


--- In firebird-php@yahoogroups.com, "Alan McDonald" <alan@m...>
wrote:
>
> >
> > I cannot get any further because of this message:
> >
> > Warning: ibase_query() [function.ibase-query]: Dynamic SQL Error
SQL
> > error code = -204 Table unknown MYDB At line 1, column 13. in
> > C:dbconnection.ini on line 78
> >
> >
> > This is what I wrote:
> >
> > $strconnect = '//CCC/C:/MYDB.fdb';
> > $connection=ibase_connect($strconnect, 'user','pass');
> >
> >
> > $query = "INSERT INTO MYDB(TITULO_MED,EMAIL,CNPJ)
> > VALUES('$TITULO_MED','$EMAIL','$CNPJ')";
>
> first things first
> your database is mydb
> is there a table of the same name ''mydb' inside the database?
> Alan
>
> >
> > $result=ibase_query($query,$connection);
> >
> > if (!$result)
> > {
> > die('<br /><br /><br /> PROBLEMS NO');
> > }
> >
>