How-to pass informational mysql messages to the browser

From: Date: Thu, 24 Feb 2005 22:07:00 +0000
Subject: How-to pass informational mysql messages to the browser
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-38659@lists.php.net to get a copy of this message
Hello everyone, My PHP/mysql pages are working perfectly, the problem is users don't know if what they are doing is working. I have a system that adds and deletes tape id's from mysql via a PHP front end. I would like to pass the same success/failure messages that I would get if I performed the add/delete directly within mysql. For example, If I delete a tape from the db within mysql, after I hit enter I get the following message: mysql> delete from tape_tracking_test where media_id like 'TR44'; Query OK, 1 row affected (0.01 sec) I would like to display this message to the browser: Query OK, 1 row affected (0.01 sec) Any help would be appreciated, Thanks, Mike

« previous php.db (#38659) next »