"include" comand

+2 mike dunne · November 23, 2014
does the "include" command only work in the index file or can I use it in any file.. because in my register.php file I use the include 'form.php' ; it doesn't work but when I open the form.php file it it works on its own... it just wont work in register.php

Post a Reply

Replies

- page 2
Oldest  Newest  Rating
0 mike dunne · November 24, 2014
do I need another file to make the include work
-1 Franz Schmidt · November 23, 2014
Make sure your filename is correct and also make sure you saved the form.php file in the right folder (may you need to add something to your include path).
  • 1
  • 2

PHP

131,163 followers
About

Server-side, HTML embedded scripting language used to create dynamic Web pages.

Links
Moderators