PHP: include inside include
Posted
by
Karem
on Stack Overflow
See other posts from Stack Overflow
or by Karem
Published on 2011-01-08T19:43:14Z
Indexed on
2011/01/08
19:54 UTC
Read the original article
Hit count: 200
php
In dbc.php I have where the connection to the mysql db gets made, and all my functions is there.
dbc.php is included on all my files.
Now all functions are in dbc.php and i would like to sort out alittle. I was thinking about putting all form_*() functions to form_api.php, and then include it in dbc.php. But will this work? Can i just include inside a file i included? Or should i use require/include_once ?
help me out thank you
© Stack Overflow or respective owner