joesoaper Posted February 24, 2016 Share Posted February 24, 2016 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 Quote Link to comment https://forums.phpfreaks.com/topic/300875-notes-with-timestamp/ Share on other sites More sharing options...
cyberRobot Posted February 24, 2016 Share Posted February 24, 2016 What does your code currently look like? When posting the code, please surround it with tags. It will make your post and code easier to view. Quote Link to comment https://forums.phpfreaks.com/topic/300875-notes-with-timestamp/#findComment-1531420 Share on other sites More sharing options...
mac_gyver Posted February 24, 2016 Share Posted February 24, 2016 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. Quote Link to comment https://forums.phpfreaks.com/topic/300875-notes-with-timestamp/#findComment-1531421 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.