Thanks your reminded! I'm afraid the problem setting of xampp will influence the result, I edited the define_page_1 with your corrected code in my website directly. There is no any other file with that code.
case1 -- No require('includes/application_top.php');
When I input the correct waybill number, it will jump to die message "Cannot access database!". All right side sideboxes and footer disappear.
When I input wrong number, it will show "Waybill number XXX not found!"! Sidebox and footer are not affedted.
case2 -- require('includes/application_top.php');
All right side sideboxes and footer disappear. And no input text box for me to input anything.
I think you are correct. It may not need to require the application_top. But really don't know why it still not work!
Bookmarks