Jump to content

Archived

This topic is now archived and is closed to further replies.

chanw1

Multiple Insert Help Please

Recommended Posts

Hi

I need some help with multiple row insert into a table

I 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

Share this post


Link to post
Share on other sites
i might be able to help you but i dont understand what you're trying to do

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.