Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "J.O. Aho" Newsgroups: comp.lang.php Subject: Re: Need help accessing the key array. Date: Mon, 31 Mar 2014 07:30:57 +0200 Lines: 22 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net tgVOAsSEoNSZRV1XWV0GKQ12Bj8srFwa0NeZnx0C/quKjQm+26 Cancel-Lock: sha1:9yoG+TWyj8p7dPkEmNmltAxgpdk= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: Xref: csiph.com comp.lang.php:13299 On 30/03/14 19:14, Jerry Stuckle wrote: > If you ever are going to have something different, my suggestion would > be to start using a database such as MySQL or PostgreSQL now. Using a > database means that all you have to do is update the database for new > items or attributes or a rate change, and the results will be reflected > in all of your pages. The database will also handle the searches for you. Just a couple of inputs. Don't forget that PostgeSQL has support for arrays and json objects, which can be useful in some cases. (PostgrSQL can be find at a fair number of web hosting companies). Also I should mention neo4j, a good graph-database, if you need something which is fast for finding nested relations, there is an extension for PHP. (of course you will not find this at web hosting companies, you need to have your own VM) -- //Aho