0
I have a PHP code inside a real estate component I’m using.
<fieldset>
<legend><?php echo JText::_('COM_JEA_LOCALIZATION')?></legend>
<?php foreach ($this->form->getFieldset('localization') as $field): ?>
<div class="formelm"><?php echo $field->label . "\n" . $field->input ?></div>
<?php endforeach ?>
</fieldset>
This Code causes the html structure to show one with several and inside each one a label and an input. They would know just by looking at the code to have a basis of what goes on behind?
What exactly is your doubt?
– stderr
How does the code generate the cited HTML structure? There are some Labels and inputs that you would like to remove, but I don’t find a way.
– Rodrigo Segatto