[PHP-DB] Interbase help

2001-01-26 Thread Mage

Hello!

I have just installed the Interbase 6.01 on a debian server. I compiled
he php with:
"/configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.14
--enable-track
-vars --with-interbase=/opt/interbase"

but I get this error message:

"Fatal error: Call to undefined function: ibase_connect() in ..."

Can anyone help me to make the interbase functions work?

Mage




-- 
PHP Database 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]




Re: [PHP-DB] MySQL/PHP Form Addslashes() command

2001-01-26 Thread Mage

Hello!

JJeffman wrote:

 There is the "nl2br()" function too :
 // From php manual :

 nl2br -- Converts new lines to HTML line breaks.
 Description

 string nl2br(string string);

 Returns string with 'BR' inserted before all new lines.


Sure, but never add any html tag to the data before insert into the database.
Instead, use this function when you output the text.

    Mage




-- 
PHP Database 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]




Re: [PHP-DB] Problem with query!

2001-01-25 Thread Mage

Hello!


 I have a problem with a mysql query!
 after the query the result variable is "resource id 2"
 what is wrong!

Nothing.
Read the manual, even the mysq_fetch_array($result) function.

    Mage




-- 
PHP Database 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]