[PHP-DB] Graphs

2003-09-16 Thread Balaji H. Kasal
Hi, I have data (in numeric format) stored in MySql. This data I am collecting hourly. Now I want to generate the graphs using this data and to display them in the browser. Which r the tools/utilities are available to do the same? I am using PHP4.2.2, Apache server and MySQL. Thanks in

[PHP-DB] Check for SNMP device down

2003-09-12 Thread Balaji H. Kasal
Hi, I am running SNMP queries using PHP through browser. I am successfully able to run SNMPGET, SNMPWALK etc when able to talk with particular device or host. But Whenever not able to talk (may be bec' device is down, link is down etc.) SNMP (from localhost) gives No responce from the

[PHP-DB] Check for SNMP device down

2003-09-12 Thread Balaji H. Kasal
Hi, I am running SNMP queries using PHP through browser. I am successfully able to run SNMPGET, SNMPWALK etc when able to talk with particular device or host. But Whenever not able to talk (may be bec' device is down, link is down etc.) SNMP (from localhost) gives No responce from the

[PHP-DB] 2 problems

2003-09-08 Thread Balaji H. Kasal
Hi, I am facing 2 problems while using PHP along with form based HTML file. It takes inputs from the user and updates the DB. Problems, 1) Not able to grab and store the checkbox status. 2) Not able to check the correctness of entered interger value. I realized that form always submits

Re: [PHP-DB] Viewing Data From MySQL

2003-09-04 Thread Balaji H. Kasal
Easiest way to do, use if-else and convert it to desired string!! -- Regards, --Balaji On Wed, 3 Sep 2003, Shaun wrote: Hi, Is it possible to change the way a query is displayed from a MySQL database. For example if I have a column that contains '1' or '0' can I run a query that returns

Re: [PHP-DB] basic php question

2003-09-04 Thread Balaji H. Kasal
http://www.sitepoint.com/article/228/1 This will guide u. Best Wishes! -- Regards, --Balaji On Wed, 3 Sep 2003, Darryl wrote: Greetings, I have php and mysql installed on my freebsd machine. I have a database iweb with tables employee and emp2. I need to walk table employee and see

Re: [PHP-DB] To many connections problem with LAMP

2003-09-04 Thread Balaji H. Kasal
After doing some research it looks like this is a problem because I am using pmysql_connect instead of mysql_connect. It is usually better not to use persistenc connections. So drop the pmysql_connect or if you really need to use them set set max connections higher

Re: [PHP-DB] PHP, MySQL and Apache 2 ?

2003-09-03 Thread Balaji H. Kasal
How many of you are using PHP with MySQL and Apache 2 ? I am using. PHP:4.2.2, MySQL: 3.23 Apache 2. I know there _were_ some problems, but do the current (stable) PHP and MySQL work fine with Apache 2 ? They work fine together. Only I faced problem during installation. But that