Hello Jon,

Thursday, January 15, 2004, 6:23:51 PM, you wrote:

JB> The way I was thinking of doing this was to have 3 tables:

JB> training_subsections
JB> training_list_items
JB> training_table_items

JB> My problem is, is it a 'reccomended' way of doing things to query the
JB> db multiple times for each new list_item and table_item in one go ??? I

There is no reason why you can't, but I'm quite convinced that with a
little more fore-thought you could come up with a table structure that
meant you didn't have to do this.

For example (if I've understood your post correctly) why not have a
training_examples table and then use an ExampleID for the subsections,
list items and table items.

That way you know which example you're dealing with and can bring back
all of the sub sections accordingly, linking in the list and table
items.

If this isn't possible, post a few more details about what you want to
achieve and perhaps your table schema.

-- 
Best regards,
 Richard                            mailto:[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to