Using require_once then require
Posted: Wed Nov 11, 2009 1:59 am
I have two files A & B.
All the files are linked. In file A, I have require_once(filename.php). In file B i have require(filename.php). For some reason this causes some conflict when running the code. There is code in File A that usually runs, but doesnt when the above is the case. Any idea why? Thanks.
All the files are linked. In file A, I have require_once(filename.php). In file B i have require(filename.php). For some reason this causes some conflict when running the code. There is code in File A that usually runs, but doesnt when the above is the case. Any idea why? Thanks.