Skip to main content
2 of 2
added 173 characters in body; edited title

Get the Joomla database connection to a connection variable

I am new to joomla and I want to create a table in joomla database manually with the data and get those details to an article in joomla. Before that as my knowledge we need to get the database connection to a connection variable. I searched in the locally installed Joomla directory to find a file containing the database connection code base. I want to know is there a way to get the connection into a separate variable as follows

enter image description here