[PHP-DB] How-to pass informational mysql messages to the browser

2005-02-25 Thread Mike Millner
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
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-DB] How-to pass informational mysql messages to the browser

2005-02-25 Thread Mike Millner
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
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php