include does not work

0

I made a modular system in which each part of the pages are in a folder, the problem is that I have a page with a form that is inside a modal, this form receives information from the bank, when I just sow the form it works and when I run the modal page it also works, but when I squeeze the whole page with I receive the error in include

  

Warning: include (../form/formCriar.php): failed to open stream: No such file or directory in C: \ wamp \ www \ CRUD \ modal \ modalCriar.php on line 11.

Page structure

Pageonwhichtheerrorisgenerated

<!--Modal--><divid="criar" class="modal modal-fixed-footer">
    <div class="modal-content" style="overflow-x: hidden;">
        <div class="row">
            <div class="col s12">
                <h4></h4>
                <p class="grey-text">

                </p>
            </div>
            <?php  include("../form/formCriar.php");  ?>
            <p class="Falha red-text center"></p>
        </div>
    </div>
    <div class="modal-footer">
        <a href="#!" class="modal-close btn-flat">Cancelar</a>
        <button class="btn cyan" type="submit" form="formCriar">Criar</button>
    </div>
</div>
<!-- Fim Modal-->
    
asked by anonymous 24.09.2018 / 21:30

0 answers