Wrox Programmer Forums
|
Moderated Pro PHP This is a moderated forum for discussing advanced, professional level issues with PHP. Your posts will not appear until a moderator approves them. Posts that are not the right level for this forum will be responded to and you'll be asked to post them in the [url="http://p2p.wrox.com/sql-server-2000-20/9"]Beginning PHP[/url] forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Moderated Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 9th, 2006, 08:45 PM
Registered User
 
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Logic Trouble

Hi there,

I'm having some logic troubles. I'm trying to write a roster database.
It needs to have a:

1) A start time for each day of the week
2) A Staff type + Staff Name
3) A location for each day

So when the user sees the roster theres a seperate table for each Location and within those tables, mini-tables for each staff type. Now each staff member doesn't neccasarily work at the same location the entire week.

So coding for a location for each day is what having I'm trouble with. [i have made solutions but they seem really clunky to me, like first loading the entire table into a multi-dimensional array and using that).

At the moment my table looks like: staff_type, staff_id, monday_location_ID, monday_start_time etc...

Please help me before I tear my hair out!





Similar Threads
Thread Thread Starter Forum Replies Last Post
grouping logic mike123 XSLT 7 October 27th, 2007 01:20 PM
help to solve the logic pradeepn XSLT 4 May 22nd, 2007 06:07 AM
And/Or Logic??? ninel SQL Server 2000 2 February 9th, 2007 11:33 AM
Tricky logic (for me) cedwards Dreamweaver (all versions) 5 April 5th, 2006 04:47 PM
Mixing Data access logic and business logic polrtex BOOK: Professional Jakarta Struts 0 December 15th, 2003 07:19 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.