How can I do one single query with both an INSERT and SELECT in it and then read the results of selection? I want to insert and then select something, all must be d
I wouldn't recommend this either but you can use pdo to do this as shown in this thread: PDO support for multiple queries (PDO_MYSQL, PDO_MYSQLND)