• Hello,

    I am new here and I want to know how to use php everywhere with more then one file.
    Example:
    I have one php file with a form and an action that point to another php file to execute when button is clicked.

    How I do this (2 files php) in the gutenberg block editor ?

    Have I to put in some diretory on my website the 2 files , or one files and one in the editor ?

    I don’t understand how to do this simple trick

    Please help me

    Thanks a lot

    Grubby69

Viewing 1 replies (of 1 total)
  • Thread Starter grubby69

    (@grubby69)

    I have now try to put my ‘action’ file in the root of the website and I see that the files is called by the form in the gutenber block.
    But, I receive a not finding page from the website…

    Is this because I have to do an AJAX call from the first file and not an action from the form ?

    Thanks

    Grubby

Viewing 1 replies (of 1 total)

The topic ‘PHP files how to use’ is closed to new replies.