Benumbed
02-14-2005, 03:50 PM
Theres probably a mod that does this or one I can look out to see how they did it but I cant find it :(
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.
This is actually for VB3.0.6, dunno why I posted here or how it posted here.
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.
This is actually for VB3.0.6, dunno why I posted here or how it posted here.