PHP: include inside include
- by Karem
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