[PHP] Cannot connect to database when using Zend studio debugger

2005-03-31 Thread Supersky
I am learning how to use Zend studio 4.0 debugger. With internal mode, when I debug a program that needs a connection to a Mysql database, I get the message "Fatal error: Call to undefined function mysql_connect() in D:\Program Files\Apache Group\Apache2\htdocs\topiclist.php". My php version i

Re: [PHP] Cannot connect to database when using Zend studio debugger

2005-03-31 Thread Supersky
Dear Richard, Thanks. After I swaped to PHP4 option in the preference of Zend Studio, I can connect to the database. However, other problems arised. The problem might be that my PHP version installed is 5.0.3 indeed. Best regards, Supersky "Richard Davey" <[EMAIL PROTECT

Re: [PHP] Cannot connect to database when using Zend studio debugger

2005-04-05 Thread Supersky
Thanks, Burhan. Supersky "Burhan Khalid" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Supersky wrote: >> Dear Richard, >> >> Thanks. >> >> After I swaped to PHP4 option in the preference of Zend Studio, I can >> conne

[PHP] Cannot connect to Database

2005-01-27 Thread Supersky
Hello, I'm using the following statements to connect to a database. But I cannot, and I see Fatal error: Call to undefined function mysql_connect() in My OS is WinXP, I have installed Mysql 4.1, Apache 2.0.52, and PHP 5.03. Apache and PHP work well if I don't connect to a database. Pl

Re: [PHP] Cannot connect to Database

2005-01-27 Thread Supersky
Dear Leif, Thank you for your help. I have done what you told me to do. But it doesn't work. Best, Supersky "Leif Gregory" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello Supersky, > > Thursday, January 27, 2005, 8:55:04 AM, you wrote: >

Re: [PHP] Cannot connect to Database

2005-01-27 Thread Supersky
Hello Richard, 1. I restarted Apache. 2. say D:\WINDOWS. 3. say nothing about MySQL. Thanks, Supersky "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Supersky wrote: >> Thank you for your help. I have done what you told me to do.

Re: [PHP] Cannot connect to Database

2005-01-27 Thread Supersky
Hello Leif, There is nothing about mysql on the information page. Thanks for your link and I am reading it. Thanks, Supersky "Leif Gregory" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello Supersky, > > Thursday, January 27, 2005, 1:37:12 PM, you

Re: [PHP] Cannot connect to Database

2005-01-27 Thread Supersky
Hello Richard, I've added my PHP folder to the system path. I think this can do the same as putting in in D:\windows. My problem has been solved. Thank you very much. Gan "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Supersky wrot

Re: [PHP] Cannot connect to Database

2005-01-27 Thread Supersky
Hello Leif, I've solved my problem. Thanks! Supersky "Supersky" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello Leif, > > There is nothing about mysql on the information page. Thanks for your link > and I am reading it. > > Thanks

[PHP] Re: Cannot connect to Database

2005-01-27 Thread Supersky
Thank all of you who helped me. My problem has been solved. Supersky "Supersky" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I'm using the following statements to connect to a database. > > Connect To > Database"); >