javascript - How to make a website for multiple events registration?
Get the solution ↓↓↓Solution:
The question you're asking is so broad that I could write a book to answer it. In fact, lots of people have done so.
You need to learn about all of the following topics before you can hope to solve this problem...
- HTML
- Creating a simple page in PHP
- Creating a MySQL database to store your information
- Use PHP to connect to MySQL and store users/registrations & query for registrations
- Use PHP to send emails
- Set up a webserver to actually host your content
- Publish your site
- Set up a domain name to point at your web server
This is still an imcomplete list, but once you know how to do each of the above, the problem becomes fairly simple.
Unfortunately, nobody here is going to do all that for you. You need to start reading tutorials and examples online, get PHP and MySQL set up on your local machine and then start practicing.
If along the way you have a specific problem, Stack Overflow is a good place to ask - but your question has to be specific and detailed, preferably including code/SQL so others can see exactly what you've done without guessing
EDIT:
It seems like you're asking about the database design.
I'd expect you to have Three tables...
Users
ID, Name, EmailAddress, etc...
Events
ID, Name, Description, Location, Date, etc...
Registrations
UserID, EventID
As users are created, they go in the users table. Events go in the events table and a user registration is recorded by putting an entry in the Registrations table, containing the ID of the appropriate user and event.
Answer
Solution:
I don't understand problem.
In database you should have a table 'many to many' type where you connect users with events.
From this table you get what events has a user, and which users are registered for event.
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: malformed utf-8 characters, possibly incorrectly encoded
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.