• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

  • 0
Sign in to follow this  

Creating efficiency

Question

Manish    44

Hey everyone! Just needed your help for this problem.

Currently I have a form, which requires users to input their data into it:

16152793.th.png

and this information is emailed to me. I, then, use the data to create the following on different module pages:

55389332.th.png

(name next to the numbers - blanked out in images)

Basically, depending on the module(s) they choose (for example, Biological Molecules), I create a tag for them using their full name and email on the appropriate page (in this example, the Biological Molecules page, which has url of www.site.com/s1_1). Each module has a limit of 16 people. The tags are generated using <div> tags with a background image.

I was wondering however, if there was an automated way to do this, which would save me going through the emails. So is there any code which will grab the data from the forms, and generate the tags in the appropriate module page?

Thanking everyone for their help.

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0
Brian M.    778

Might be worthwhile storing it in a database instead of emailing it to yourself - that way you can just read straight from the database.

Share this post


Link to post
Share on other sites
  • 0
Manish    44

Yeah I was thinking about doing that. I suppose it would make it easier to take the info. out of the database both manually and using code.

Anyone with any ideas on how to take out the information though?

Also, would it make the problem easier to solve if every module had its own form, rather than a generic one for all the modules?

I'm open to suggestions really.

Share this post


Link to post
Share on other sites
  • 0
Colin-uk    134

if your going the database route, i would stick with the one form method, you can just write different data to different records in the same db then.

Share this post


Link to post
Share on other sites
  • 0
sweetsam    31

Here is what I would do. One database wherein the submissions are added with a column for accepted/rejected/new and an admin interface which would display new submissions with an option to edit/reject.

Share this post


Link to post
Share on other sites
  • 0
Manish    44

Apologies for the thread revival.

Would just like to thank bmaher, Colin-uk and sweetsam for their help. I went with the database approach. Took a little time to configure everything and get it working, but it's running on its own smoothly now. I'd want to look into your approach in the future, sweetsam.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.