New answers tagged

0 votes

Connecting to an external database in Joomla 4

Use Joomla\Database\DatabaseFactory::getDriver(): $db = (new Joomla\Database\DatabaseFactory)->getDriver('mysqli', $options);
  • 8,776

Top 50 recent answers are included