I wonder if I should use mysql_close() at the end of those snippets, which connect to a database-table outside the modx-database? As far as I know modx itself has a permanent connection to the database - does this mean that mysql_close() will also close this connection and not only the one which I generated via my custom snippet?
Many thanks in advance!
MODx core doesn’t use the mysql socket itself but the PDO extension. That’s a completely other way to connect to the database.