[GLLUG] Storing other and none in a relational database

Richard Houser rick at divinesymphony.net
Wed Apr 1 00:49:18 EDT 2009


I'd strongly recommend avoiding any JavaScript requirements, as it
fundamentally breaks the HTML interface to your application.  Any such
hack/workaround needs to be server-side, or you are setting yourself up for
a world of hurt.

On Tue, Mar 31, 2009 at 8:11 PM, <charles at bityard.net> wrote:

>
>
> > Either way, I recommend inserting the 'None' and 'Other' records
> > immediately after the table is created so that you always know the
> primary
> > key value of those two records.
>
> I accidentally skipped over the part where you said you want None to
> always be first and Other to always be last. Probably the only solution
> there is to do some "manual" sorting in the code if it's an absolute
> requirement.
>
> Charles
> --
> http://bityard.net
>
> _______________________________________________
> linux-user mailing list
> linux-user at egr.msu.edu
> http://mailman.egr.msu.edu/mailman/listinfo/linux-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.egr.msu.edu/mailman/public/linux-user/attachments/20090401/22debd3c/attachment.html 


More information about the linux-user mailing list