Hi,
Is there any function in php that return the current selected table for a mysql connection.
Or do i have to make a function of my own?
/ Jon
Hi, how do you select a table for a connection? afaik is this done in every query itself, not global for the whole connection, or am i wrong?
did you have a look at mysql_tablename() ? maybe this is what you want...
ohhh i'm sorry i meant how can I get the name of current database a connection is using?
SHOW PROCESSLIST
has this information, you have to seperate it out from the data its returning.,