Johnain Posted August 13, 2009 Share Posted August 13, 2009 Hi I am using XHTML (T). I am successfully retrieveing data from a MySQL database field of type Text. I want to show it in a form so a user can edit it and then I can save it back to my table. However I can only see two tab types that might be relevant. 1. <input> that lets me assign an initial value but will not allow me to specify columns or rows. 2. <textbox> That will give me rows, columns and scrolling - but will not let me assign an initial value. Am I missing something? Is there a simple solution? Regards John Link to comment https://forums.phpfreaks.com/topic/170075-solved-displaying-data-retieved-from-a-database-in-a-scrollbox-in-a-form/ Share on other sites More sharing options...
haku Posted August 13, 2009 Share Posted August 13, 2009 <textarea>Data goes here</textarea> Link to comment https://forums.phpfreaks.com/topic/170075-solved-displaying-data-retieved-from-a-database-in-a-scrollbox-in-a-form/#findComment-897194 Share on other sites More sharing options...
Johnain Posted August 17, 2009 Author Share Posted August 17, 2009 <textarea>Data goes here</textarea> Thanks Haku, I really appreciate that. By the way, in case you are wondering whether I feel a complete plonker, the answer is yes. I do. Talk about the obvious. But thanks again Link to comment https://forums.phpfreaks.com/topic/170075-solved-displaying-data-retieved-from-a-database-in-a-scrollbox-in-a-form/#findComment-899979 Share on other sites More sharing options...
haku Posted August 17, 2009 Share Posted August 17, 2009 No worries mate - and no need to feel plonkish - it's how we learn! Link to comment https://forums.phpfreaks.com/topic/170075-solved-displaying-data-retieved-from-a-database-in-a-scrollbox-in-a-form/#findComment-899985 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.