I apologise in advance, I have googled & stackoverflow'd this and cannot get to the correct answer I need.
I have the following;
if ($radiobutton == "1"){
require ("/test/_testpage1.php");
}
radiobutton 2 also doing the same but going to testpage2.php instead. Neither of this is working. But if i move testpage1.php OUT of the /test/ folder it works perfectly fine just in public_html.
if ($radiobutton == "1"){
require ("_testpage1.php");
}
The above works fine, but in the interest in keeping things tidy & easier for me to manage I wanted to put things in folders.
PLEASE may somebody support on something I am quite clearly missing?