is it possible to execute multiple commands with exec(), passthru() or system() ? I wish to open a mysql connections and return the output of 'show databases;' etc. In my mind you need at least 2 commands to do this. using passthru() to connect and another passthru to query fails.
anyone have a solution to this?
thanks in advance.