Jump to content

Recommended Posts

I have three fields  $username $timestamp  $notes and I am trying to get them saved into one text area so that when anyone views it shows  who, what time and what the content of the note was. I need a record of who added what when and what they said on each line.

I have tried myself for over three months but have failed on every attempt.

 

I have an example here below of what I am trying to achieve in the look in the text.

 

 

Joe @ 2106-02-27 : 15:35 - I need to get some more RAM anyone have any ideas?

Harry @  2106-02-28 : 05:35 - You can try from Web Shop they are having a special

Billy @  2106-02-29 : 15:35 - Yes they are great I used them last year

 

And so on.

 

If I have not explained properly please let me know and I will try again.

 

Any help would be greatly appreciated

 

Link to comment
https://forums.phpfreaks.com/topic/300875-notes-with-timestamp/
Share on other sites

in addition to posting your code, you have to provide information about what works and what doesn't, what error or symptom you are getting that leads you to believe that your code doesn't work, and what result you did get. your post does contain information about what result you expected, through it's not entirely clear, without your code, exactly at what point you expect that result.

 

if what you are describing is storing data into a database table, you would NOT combine the information into one field/column. you would have separate columns for the different information and only combine them when you display the information.

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.