Results 1 to 2 of 2

Thread: Load mySQL data into modal

  1. #1
    Junior Member
    Join Date
    Dec 2016
    Posts
    2

    Load mySQL data into modal

    I need to load data from a database into a modal. From what I read on the net, I have to use Ajax not only to get the data but also to generate the modal body html. If that's true, I'm beginning to think bootstrap modals aren't worth the effort other than fixed, informative messages. I hope I'm wrong.

  2. #2
    Junior Member
    Join Date
    Jan 2017
    Posts
    3
    Hi,

    it's not that big problem with Bootstrap.
    Please take a look at my example:
    https://www.bootstrapworld.de/snippe...ten-modal-ajax

    You can use the href-attribute to get the data ( modal-content-example.php ).

    Best regards

    Andreas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •