SirChick Posted December 24, 2007 Share Posted December 24, 2007 I am wondering how this can be done in php.. I am going to create a few pages with a form and a box for inputting text... Now what i am wondering is.... say the user inputs a few lines of text like reminders etc.. now when they load that text box up on that page or any other page that the box is loaded in.. that text will be showing the box (Which is stored from a table in the database). Is it done via php ? Or do you need something like javascript to load up the text into the box ? Quote Link to comment https://forums.phpfreaks.com/topic/82987-solved-personal-notebook/ Share on other sites More sharing options...
AndyB Posted December 24, 2007 Share Posted December 24, 2007 php and MySQL will do it all for you. entering stuff: form and php processing to database showing stuff: connect to database, retrieve 'notes', display in a div or whatever you want. Personally, putting it all in a text file and storing it the desktop is a lot easier Quote Link to comment https://forums.phpfreaks.com/topic/82987-solved-personal-notebook/#findComment-422075 Share on other sites More sharing options...
SirChick Posted December 24, 2007 Author Share Posted December 24, 2007 wait if i echo it in a div it wont remain inside the text box though will it ? it needs to be withing the box itself.. so the user can just type underneath or edit what is echo'd withing the box and update etc Quote Link to comment https://forums.phpfreaks.com/topic/82987-solved-personal-notebook/#findComment-422079 Share on other sites More sharing options...
trq Posted December 24, 2007 Share Posted December 24, 2007 Simply output it back into a <textarea> then. Quote Link to comment https://forums.phpfreaks.com/topic/82987-solved-personal-notebook/#findComment-422080 Share on other sites More sharing options...
Northern Flame Posted December 24, 2007 Share Posted December 24, 2007 you mean put it in a textarea so that the user can easily manage the notes? yea, just echo it in a textarea.... Quote Link to comment https://forums.phpfreaks.com/topic/82987-solved-personal-notebook/#findComment-422081 Share on other sites More sharing options...
SirChick Posted December 24, 2007 Author Share Posted December 24, 2007 <textarea name="TextArea1" id="TextArea1"><?phpecho$Stuff?></textarea> Something like that? Quote Link to comment https://forums.phpfreaks.com/topic/82987-solved-personal-notebook/#findComment-422082 Share on other sites More sharing options...
Northern Flame Posted December 24, 2007 Share Posted December 24, 2007 yea Quote Link to comment https://forums.phpfreaks.com/topic/82987-solved-personal-notebook/#findComment-422086 Share on other sites More sharing options...
SirChick Posted December 24, 2007 Author Share Posted December 24, 2007 Thankyou All. Quote Link to comment https://forums.phpfreaks.com/topic/82987-solved-personal-notebook/#findComment-422088 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.