How-to pass informational mysql messages to the browser

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux