Posted this in another forum but I think it might have been wrong one...
Type Names in a textbox, using
print_textarea_row($vbphrase['text'], 'pagetext', $raid['pagetext'], 10, 50, 1, 0);
When you click add attendees, it will parse thru each one and add new record in raid_attendees table.
Example:
(Enter this into pagetext)
Blah
Bleh
Blah2
Bleh2
Blah3
Bleh3
When you hit submit, it will parse thru each with a linebreak and...
add new record in a table for blah
add new record in a table for bleh
add new record in a table for blah2
add new record in a table for bleh2
add new record in a table for blah3
add new record in a table for bleh3
I know its some kind of an array, but cant figure out how to loop it and use each name.
No one?
I am doing this in an edited announcement.php file inside modcp if that helps.