Hello
I'm trying to make my form better and I have a question.
How I make a dynamic form that load first the sections of the page, then send with that value selected shows the categories and with that value selected show the titles of the articles in that category.
I have to make another .php file that load in arrays all the data with a direct query to the database an then sort them ?
And then take all this data and make a different script for sorting😲 ?
How I pass this data to the form?
There is another option for this?
Thanks for all your help😀
I'm trying to make my form better and I have a question.
How I make a dynamic form that load first the sections of the page, then send with that value selected shows the categories and with that value selected show the titles of the articles in that category.
I have to make another .php file that load in arrays all the data with a direct query to the database an then sort them ?
$sql = 'SELECT `id`, `name` FROM jos_sections order by `id`;
$sql = 'SELECT `id`, `name`, 'section' from jos_categories order by 'section';
$sql = 'SELECT 'title', 'catid' from jos_content order by 'catid';
And then take all this data and make a different script for sorting😲 ?
How I pass this data to the form?
There is another option for this?
Thanks for all your help😀