Custom PHP code on the Joomla page

I am trying to change the source of a table on a Joomla 1.5.9 page from the hardcoded html on the page to get information from the SQL database. What is the right way to do this? Create a new model or component and somehow use it on the page?

I found them: http://docs.joomla.org/Tutorial:How_to_use_the_database_classes_in_your_script http://docs.joomla.org/How_to_use_the_database_classes_in_your_script

But I'm not sure where to write the PHP code and how to access it on the page. If someone can point me to a basic tutorial on custom php or what he called, I am new to webb development, I would be happy.

+4
source share
2 answers

You can use the Jumi extension to add your own PHP code to a page or Joomla module.

+5
source

You can install the Php Pages component in joomla 1.5. Where you can write your own php code in joomla.

Also using this component of Php Pages you can also write a request in the php code itself.

So you can extract data from the database.

+1
source

Source: https://habr.com/ru/post/1332575/


All Articles