I\'m trying to call a modal that I have in a html file which is hidden alongside another modal. One of them appears as the button is clicked but the other one is to be calle
Try this:
echo "<script type='text/javascript'> $(document).ready(function(){ $('#myAdvert').modal('show'); }); </script>";