phpfreakjav Posted September 20, 2010 Share Posted September 20, 2010 Hello I have a question in regards to design. No need for example code just of how to approach the problem. Issues and things that cannot change because they are part of the situation. 1. Cannot use any database like oracle, MySQL, or SQLite 2. The server does not run PHP5 3. The students do not have a unique field and cant have one because they have not my employers have not decided on one. Here is the problem: I have to make a form with the following fields first name last name comments date I have stored the fields in a text file. However, how can I relate date to the comment without having duplicates records? For example. Lets suppose my boss asked me can you look up the comments that the counselor made in july 10 2010. My answer: One must have duplicate records of each instance of a comment. Am I wrong? Quote Link to comment https://forums.phpfreaks.com/topic/213862-question-of-design/ Share on other sites More sharing options...
ignace Posted September 20, 2010 Share Posted September 20, 2010 Am I wrong? Yes, it's completely possible to normalize everything into multiple files. It won't be efficient but possible. Quote Link to comment https://forums.phpfreaks.com/topic/213862-question-of-design/#findComment-1113187 Share on other sites More sharing options...
litebearer Posted September 20, 2010 Share Posted September 20, 2010 this may be useful to you... http://lukeplant.me.uk/resources/flatfile/ Quote Link to comment https://forums.phpfreaks.com/topic/213862-question-of-design/#findComment-1113214 Share on other sites More sharing options...
phpfreakjav Posted September 21, 2010 Author Share Posted September 21, 2010 Thanks this will do. Quote Link to comment https://forums.phpfreaks.com/topic/213862-question-of-design/#findComment-1113608 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.