Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.