Pedro Guimarães Rosa free asked 8 years ago

Good Morning, I 'm trying to use Modal with a table, How do I spend my field data for Modal ? I want to spend my exact ID of the field where I clicked. Thanks in advance. My code: <tbody> <?php foreach ($Datas as $Data): ?> <tr> <td> <?php echo $Data['Transp']['ID']; ?></td> . . . </tr> <?php endforeach; ?> </tbody>

Dawid Adach pro answered 8 years ago

Dear Pedro, I am afraid I didn't get what you want to achieve. Code which you have paste will create as many rows as elements in Datas table and fill first column with ID. Could you please rephrase your question?

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.


Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: Yes