Jump to content

Question of design


phpfreakjav

Recommended Posts

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?

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/213862-question-of-design/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.