Great tip, thank you, I was trying to understand how this option works, I followed the steps in the tutorial, but it's not working.You could make a table from your xml data and then use an SQL field:
https://jdocmanual.org/jdocmanual?manua ... l-field.md
Would it be too much to ask for a more complete return from you?
I downloaded the data from IBGE, which handles official data and statistics for states and municipalities.
They provide a ready-made MySQL, when I added it, two tables were created:
1 - cities
2 - states
In the Joomla field I added:
SELECT `id` AS value, `title` AS text
FROM `states`
WHERE `state` = 1
ORDER BY `title` ASC
When doing this the error appears:
1054
Unknown column 'title' in 'field list'
When I add the second mysql table call:
SELECT `id` AS value, `title` AS text
FROM `cities`
WHERE `state` = 1
ORDER BY `title` ASC
Several MySQL errors appear, only on the page where I am going to add the form, which is the edit profile page.
See the attached images:
Thank you in advance for your attention
Statistics: Posted by rikaryo — Thu May 09, 2024 3:58 pm