Welcome Guest, Not a member yet? Register   Sign In
Config class the best use of
#2

[eluser]LuckyFella73[/eluser]
I would prefer to set up a referencing DB table with
all you levels (School,degree,Master,Dr.) and do
a join sql query.

DB tables could look something like that:
Code:
// table "levels"
id    |    level
----------------------
1    |    School
2    |    degree
3    |    Master
4    |    Dr.

// table "entries"
id    |    level_id    | name(or whatever fields you have)
-------------------------------------------------------------------
1    |    3        | Paul
2    |    4        | Gregg
3    |    1        | Jack
4    |    1        | Ken
5    |    2        | Jean


Btw: the variable "config" is a reserved name regarding the
user guide!


Messages In This Thread
Config class the best use of - by El Forum - 07-22-2011, 02:11 AM
Config class the best use of - by El Forum - 07-22-2011, 02:43 AM
Config class the best use of - by El Forum - 07-22-2011, 03:02 AM
Config class the best use of - by El Forum - 07-22-2011, 03:10 AM
Config class the best use of - by El Forum - 07-22-2011, 03:12 AM
Config class the best use of - by El Forum - 07-22-2011, 04:01 AM
Config class the best use of - by El Forum - 07-22-2011, 08:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB