GlassCasket Posted July 12, 2007 Share Posted July 12, 2007 I'm starting a new project soon and had a few design questions. The project will entail having a basic first page where the customer will input basic information about themselves. Then will proceed to an order form. So I'm assuming that you shouldn't be able to see the order form if you haven't gone through the main page. So I guess my question is: What is the better design to check certain conditions on page load up? I'm not sure if using classes is appropriate or simply using if statements. Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/59567-best-design-to-check-certain-conditions-on-page-load/ Share on other sites More sharing options...
AndyB Posted July 12, 2007 Share Posted July 12, 2007 Sounds like an obvious candidate for an if or two What classes did you have in mind that would have been better? Quote Link to comment https://forums.phpfreaks.com/topic/59567-best-design-to-check-certain-conditions-on-page-load/#findComment-296000 Share on other sites More sharing options...
GlassCasket Posted July 15, 2007 Author Share Posted July 15, 2007 Sounds like an obvious candidate for an if or two What classes did you have in mind that would have been better? You're right. This project could become big and I just wanted to keep things as organized as possible. if's it is! Quote Link to comment https://forums.phpfreaks.com/topic/59567-best-design-to-check-certain-conditions-on-page-load/#findComment-298790 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.