• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple Registration Form Organization

#11
[eluser]Jesse Schutt[/eluser]
Sumon,

Thanks for the ideas! I will look at breaking out into several tables.

Just to clarify, this isn't for a cart or storefront. It is a registration application for events. I'm not sure if that was clear before.

You suggested that I use fields like user_id and event_id. How do I go about generating those values? I know how to use the auto_increment on the primary key, but is that what you would suggest?

Jesse

#12
[eluser]Sumon[/eluser]
ha ha ha. Your read my post instantly. that's why you get shopping cart. Within few minutes i have changed it to event. please have a look now.
http://ellislab.com/forums/viewreply/457732/

[quote author="jschutt" date="1221100238"]
You suggested that I use fields like user_id and event_id. How do I go about generating those values? I know how to use the auto_increment on the primary key, but is that what you would suggest?
[/quote]

Exactly. user_id from registration table and event_id from event. both are auto increment and primary key.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.