Jump to content


Photo

Class Register


  • Please log in to reply
3 replies to this topic

#1 aaronrb

aaronrb
  • Members
  • PipPipPip
  • Advanced Member
  • 32 posts

Posted 30 October 2006 - 11:52 AM

hi Guys,
Looking for a litttle bit of help.
I run a martial arts club, and all of my members infor is stored in a php membership system which i have created.
However i would like it to have a feature of classs reigsters, to save on printing costs.
basically the idea i have is for PHP to find the dates of Every Tuesday and THursday in the current month. and print these in a table view.
underneath each date for each person i would like to have a check box.

here is an example of the sort of this i am looking for:
http://www.berkshiretkd.co.uk/registerExample.htm
Thank you in advance for any help
Regards
Aaron


#2 HuggieBear

HuggieBear
  • Members
  • PipPipPip
  • Advanced Member
  • 1,899 posts
  • LocationEngland, UK

Posted 30 October 2006 - 12:02 PM

Like a digital attendance sheet?

Regards
Huggie
Advice to MySQL users: Get phpMyAdmin and test your queries work there first, take half the hassle out of diagnosis, also check the reserved words list.

Links: PHP Docs :: RegEx's :: MySQL :: DevGuru :: w3schools

#3 aaronrb

aaronrb
  • Members
  • PipPipPip
  • Advanced Member
  • 32 posts

Posted 31 October 2006 - 11:13 AM

yes.. just like that.. any help available?
thanks

#4 HuggieBear

HuggieBear
  • Members
  • PipPipPip
  • Advanced Member
  • 1,899 posts
  • LocationEngland, UK

Posted 06 November 2006 - 10:59 AM

Although a slightly different approach to what you have there, I'd create maybe an event calendar, like the one in the tutorial that Obs wrote recently here @ PHPFreaks as my starting point (You'll need a few code tweaks as the code doesn't work out of the box, there's a few typos in there).

Then add events for each of your classes, finally tie in a users table to allow for entry of attendees.

Using the event calendar tutorial with a little bit of code tweaking and style sheets, I came up with the following:

http://dizzie.co.uk/calendar (Yellow shows the current day, Purple shows days with events on).

Then I added a few additional tables, and voila!

Regards
Huggie
Advice to MySQL users: Get phpMyAdmin and test your queries work there first, take half the hassle out of diagnosis, also check the reserved words list.

Links: PHP Docs :: RegEx's :: MySQL :: DevGuru :: w3schools




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users