How to use the database classes in your script From Joomla! Documentation Redirect page Redirect to:Accessing the database using JDatabase