Re: [PHP-DB] Keeping data from while

2005-08-12 Thread Alain Rivest
Brad Ciszewski a écrit : I am writing a web script where the background colors of certain rows change when the amount of money changes. For example, my first piece of data is 1.12. my second piece of data is 1.34, my third piece of data is 1.34, and my forth piece of data is 1.5. They would like

[PHP-DB] Keeping data from while

2005-08-12 Thread Brad Ciszewski
I am writing a web script where the background colors of certain rows change when the amount of money changes. For example, my first piece of data is 1.12. my second piece of data is 1.34, my third piece of data is 1.34, and my forth piece of data is 1.5. They would like this on the webpage. 1.12 [

Re: [PHP-DB] Can't connect to MySQL server on 'mysql.host' (13)

2005-08-12 Thread Luiz Henrique Ozaki
Bastien Koert wrote: > pass the ip address of the remote server as the host > > is the remote server set up to allow a connection from the web server > IP address? > > bastien > > I have the mysql.host in the /etc/hosts with the IP address. Using the mysql command, mysql -u root -h mysql.host, it

Re: [PHP-DB] Can't connect to MySQL server on 'mysql.host' (13)

2005-08-12 Thread FSA
generaly it 'mysql.sock' not "'mysql.host'" anyways after u check your script try to see if mysql it's started. netstat -atn u should have a 0.0.0.0:3306 line Luiz Henrique Ozaki wrote: > Im trying to have PHP with mysql but Im not getting it working. > > I need to connect with mysql_connect to a

RE: [PHP-DB] Can't connect to MySQL server on 'mysql.host' (13)

2005-08-12 Thread Bastien Koert
pass the ip address of the remote server as the host is the remote server set up to allow a connection from the web server IP address? bastien From: Luiz Henrique Ozaki <[EMAIL PROTECTED]> To: php-db@lists.php.net Subject: [PHP-DB] Can't connect to MySQL server on 'mysql.host' (13) Date: Fri

[PHP-DB] Can't connect to MySQL server on 'mysql.host' (13)

2005-08-12 Thread Luiz Henrique Ozaki
Im trying to have PHP with mysql but Im not getting it working. I need to connect with mysql_connect to a non-local mysql server but im getting: Can't connect to MySQL server on 'mysql.host' (13) Connecting localhost its normal. How can I make php5_mysql connecting to a non-local server ?? >Fro