justlukeyou Posted November 28, 2012 Author Share Posted November 28, 2012 Hi, Huge thanks for you help with this mrMarcus. I just change the text area to input and it worked fine. Many thanks. <input class="element_2" Quote Link to comment https://forums.phpfreaks.com/topic/271147-update-code-now-has-form_id-error/page/2/#findComment-1395866 Share on other sites More sharing options...
mrMarcus Posted November 28, 2012 Share Posted November 28, 2012 Hi, Huge thanks for you help with this mrMarcus. I just change the text area to input and it worked fine. Many thanks. <input class="element_2" Shoot, my bad. Didn't even realize I posted a <textarea> in my example. For <textarea>, it works a little different. So, you can keep your textarea, just use the following code: <textarea class="element_2" name="aboutcompany" class="element textarea medium"><?php echo (!empty($row['aboutcompany'])) ? $row['aboutcompany'] : ''; ?><textarea> Quote Link to comment https://forums.phpfreaks.com/topic/271147-update-code-now-has-form_id-error/page/2/#findComment-1395935 Share on other sites More sharing options...
justlukeyou Posted November 28, 2012 Author Share Posted November 28, 2012 Hi, Whats the difference betweent the two? This code has helped massively. Ive also sorted out my header. I was previously echoing the first name the user submitted. So if someone did change their name the site would continiously show there old name. Is it possible to do this with drop down menus. I have 2 drop down menus that I need to change to this method. Quote Link to comment https://forums.phpfreaks.com/topic/271147-update-code-now-has-form_id-error/page/2/#findComment-1396041 Share on other sites More sharing options...
mrMarcus Posted November 28, 2012 Share Posted November 28, 2012 Hi, Whats the difference betweent the two? This code has helped massively. Ive also sorted out my header. I was previously echoing the first name the user submitted. So if someone did change their name the site would continiously show there old name. Is it possible to do this with drop down menus. I have 2 drop down menus that I need to change to this method. Are you asking the difference between a <textarea> box and an <input> field? If so, see here. Quote Link to comment https://forums.phpfreaks.com/topic/271147-update-code-now-has-form_id-error/page/2/#findComment-1396042 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.