chanw1 Posted October 29, 2006 Share Posted October 29, 2006 Hi I need some help with multiple row insert into a tableI a have form with a TextArea.I need to enter in email addresses into the Text Area on the form and when it is submitted it inserts into each separate email into multiple rows.Any help with this would be greatly appreciated.Thanks Quote Link to comment Share on other sites More sharing options...
jwk811 Posted October 29, 2006 Share Posted October 29, 2006 i might be able to help you but i dont understand what you're trying to do Quote Link to comment Share on other sites More sharing options...
Psycho Posted October 29, 2006 Share Posted October 29, 2006 If I understand him correctly he has a textarea where the user can enter multiple email addresses and he wants to enter each email address into the database separately.The questin to you is how are the email addresses delimited in the text field. Are they entered on one line, separated by a delimiter such as a comma, or what? If you can't control how the user will enter them you will need to use some regular expressions to determine where one email address ends and another begins. Quote Link to comment 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.