RE: [PHP] RE: Organisational question: surely someone has implemented many Boolean values (tags) and a solution exist

From: Date: Thu, 20 Jan 2011 21:46:31 +0000
Subject: RE: [PHP] RE: Organisational question: surely someone has implemented many Boolean values (tags) and a solution exist
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-310923@lists.php.net to get a copy of this message
>> [JS] I disagree. The method I proposed can be extended to any depth, and >> any >> leaf or branch can be retrieved with a single query. >> > >I suppose for retrievals this structure has advantages, but unless >MySQL has a ++ operator (or better yet, one that adds or subtracts 2 >from an int) then it looks to be a pain to add nodes. > [JS] Not at all. Somebody, somehow, has to assign a name to the tag and designate its place in the hierarchy. I don't see how you can avoid that being done by a human. Regards, Jerry Schwartz Global Information Incorporated 195 Farmington Ave. Farmington, CT 06032 860.674.8796 / FAX: 860.674.8341 E-mail: jerry@gii.co.jp Web site: www.the-infoshop.com >But I will play with the idea. Maybe after I write the code (I'm >saving that for tomorrow) I'll see it differently. Thanks. > >-- >Dotan Cohen > >http://gibberish.co.il >http://what-is-what.com

« previous php.general (#310923) next »