I tried using the Framework Builder. I am still running into problems.
My main page includes the header and footer that are called in via a PHP include on the main index page as:
error_reporting(E_ALL & ~E_NOTICE);
require_once(basename(($_GET['page']!='' ? $_GET['page'] : 'home') . '.php'));
I have attached my Menu file to this post.
I even changed the form post action to "<?php echo htmlentities($_SERVER["PHP_SELF"]); ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".htmlentities($_SERVER["QUERY_STRING"]):""; ?>" as suggested elsewhere.
The server side validation works since it happens before form posting.
However once I submit the form with intentional errors in captch/security code, it doesn't submit but goes to http://localhost/index.php?page=practitioners
Where am I going wrong?
Is it to do with the way my PHP Links are structured. I have made no progress in a week and I would really appreciate your help. Could you please look at my relevant zipped website files and see what is causing the error?
I used a static plugin and don't know if a dynamic plugin would have made a difference. I could not figure out how to use the dynamic plugin in terms of what variables to call.
When I point over the register button it shows http://localhost/index.php?page=practitioners (is this why it is not processing the form)
Please let me know since I don't know PHP coding but if given the right instructions I Can read up about it and set things right.