Home : Products : Gossamer Links : Discussions :

Products: Gossamer Links: Discussions: Re: [mrrob] Lookup a value - global, new table or extra field?: Edit Log

Here is the list of edits for this post
Re: [mrrob] Lookup a value - global, new table or extra field?
Do you have a table which holds these names?

i.e

Code:
LocationDetails
LocationID
LocationName

?

EDIT: just re-read your post =) I would go with the option of a new table, which could just be grabbed via:

Code:
sub {
return $DB->table('Locations')->select( ['LocationName', { LocationID => $_[0] } )->fetchrow;
}

(only an example - as I don't know what table structure you will have =))

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!

Last edited by:

Andy: Aug 28, 2008, 9:57 AM

Edit Log: