MySQL Forums
Forum List  »  Newbie

Re: How can I insert Multi row in the db with single form?
Posted by: Rick James
Date: March 03, 2014 06:17PM

If your <form> has a "textarea", and you don't need to split up the lines of that field, then simply INSERT it into a TEXT field in the table. Caveat: When SELECTing it and displaying it, you need something like PHP's nl2br() to have the line breaks displaying the same way that they were entered.

Options: ReplyQuote


Subject
Written By
Posted
Re: How can I insert Multi row in the db with single form?
March 03, 2014 06:17PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.