[PHP-DB] New PHP or Firebird behavior?

2003-03-20 Thread Mauricio Junqueira
Hello, I have been using php --with-interbase for some time and I enjoy using php scripts to everything so I did some small scripts to use as a datapump to the interbase. My scripts relay on the fact that I can have two simultaneos connections to the different databases in order to pump data from o

[PHP-DB] interbase/firebird - There was a time with multiple conections

2003-03-13 Thread Mauricio Junqueira
Hello, I have been using php --with-interbase for some time and I enjoy using php scripts to everything so I did some small scripts to use as a datapump to the interbase. My scripts relay on the fact that I can have two simultaneos connections to the different databases in order to pump data from o

[PHP-DB] inet_error: connect errno = 111

2001-04-14 Thread Mauricio Junqueira
I am trying to start the server and it returns the following in the interbase.log. ns1.mautec.com (Client) Sat Apr 14 22:06:05 2001 INET/inet_error: connect errno = 111 ns1.mautec.com (Client) Sat Apr 14 22:06:05 2001 /opt/interbase/bin/ibguard: guardian starting bin/ibserver

[PHP-DB] how many queries?

2001-04-06 Thread Mauricio Junqueira
Hi, I was wondering what would be the main concern about doing several queries using different variables without freeing the result... just wast of memory or any more serious damage on the way? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: [PHP-DB] error code = -504 Cursor unknow

2001-04-06 Thread Mauricio Junqueira
Mauricio Junqueira wrote: > Mauricio Junqueira wrote: > >> >> Hello, this is my first attempt to query and print a result coming from a >> database, in this case interbase6. >> >> I got the following error: InterBase: Dynamic SQL Error SQL error code = >

Re: [PHP-DB] column names

2001-04-03 Thread Mauricio Junqueira
Meir kriheli wrote: > On Tuesday 03 April 2001 23:10, Mauricio Junqueira wrote: >> HI, >> >> does anyone knows how to retrive information about the columns names of a >> table? >> I know that is possible to use show table mytable using isql but >> I ne

[PHP-DB] column names

2001-04-03 Thread Mauricio Junqueira
HI, does anyone knows how to retrive information about the columns names of a table? I know that is possible to use show table mytable using isql but I need to get information about the columns using sql. that information is to be accessed with a php script. so, I'm looking for something resemb

Re: [PHP-DB] error code = -504 Cursor unknow

2001-03-27 Thread Mauricio Junqueira
Since ibase_query returns true if the query succeeds I've tried this, but with the same problem with ibase_fetch_row: $stmt = "select count(*) from soldcars"; if ($query= ibase_query($stmt) or die ("alert('" . ibase_errmsg() . "'); ")){ $result = ibase_fetch_row($query); $T

Re: [PHP-DB] error code = -504 Cursor unknow

2001-03-27 Thread Mauricio Junqueira
If just comment the following lines, everything works Please help... I'm getting nut !! alert('" . ibase_errmsg() . "'); "); $stmt = "select count(*) from soldcars"; $query= ibase_query($stmt) or die ("alert('" . ibase_errmsg() . "'); "); // $result = ibase_fetch_row($quer

Re: [PHP-DB] error code = -504 Cursor unknow

2001-03-27 Thread Mauricio Junqueira
Mauricio Junqueira wrote: > > Hello, this is my first attempt to query and print a result coming from a > database, in this case interbase6. > > I got the following error: InterBase: Dynamic SQL Error SQL error code = > -504 Cursor unknown in maingeral.htm on line 8 &g

[PHP-DB] error code = -504 Cursor unknow

2001-03-27 Thread Mauricio Junqueira
Hello, this is my first attempt to query and print a result coming from a database, in this case interbase6. I got the following error: InterBase: Dynamic SQL Error SQL error code = -504 Cursor unknown in maingeral.htm on line 8 Here's the code: alert('" . ibase_errmsg() . "'); "); $st