数据切换崩溃的按钮是打开模态,我不知道为什么

I have the following code in html + php:

<button style="margin-bottom: inherit;font-size: 14px;" class="btn btn-default btn-sm info" data-toggle="collapse" data-target="#<?php echo "info".$id_item1;?>">
               Information
                <i class="fa fa-2x fa-angle-down" style="color: #002A41;"></i>
            </button>
            <div id="<?php echo "info".$id_item1;?>" class="collapse">
                <br>
                <div class="panel panel-default">
                    <div class="panel-body">
                        <form>


                        </form>
                    </div>
                </div>
            </div>

The problem is that my button is opening a modal and the collapse div at the same time and i dont know why happens this. The id of my modal is "myModal" and the id of the collapse div is different to this. I tried to use preventDefault but this avoid that the collapse div is visible.

Without the code php is not working still.