Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: "Peter H. Coffin" Newsgroups: comp.lang.php Subject: Re: values not changing Date: Tue, 21 May 2013 21:46:51 -0500 Organization: A noiseless patient Spider Lines: 21 Message-ID: References: <14jsq8i4oxkxn.r427ym6k6zgn$.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: mx05.eternal-september.org; posting-host="4163d0103afdb3d32fe6c98974b1e330"; logging-data="15685"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18xjANkW3bIT7StXkSQ1L9B" User-Agent: slrn/0.9.9p1 (OpenBSD) Cancel-Lock: sha1:1wSBvCOf/AdN5J+RjoFDqbRGyOc= Xref: csiph.com comp.lang.php:9518 On Tue, 21 May 2013 22:23:08 +0000 (UTC), Doug Miller wrote: > richard wrote in news:14jsq8i4oxkxn.r427ym6k6zgn$.dlg@ > 40tude.net: > >> www.mroldies.net >> >> I am attempting to change the play list given the year selected. >> However, regardless of which year is chosen, the code selects only the >> originally loaded playlist. > [...] >> $result = mysql_query("SELECT atitle,artist,avid FROM A$year WHERE id = >> $number"); > > You have a separate table for each year!? Why? It's richard. -- The trouble with things that extend your lifespan is that they happen at wrong end. I'd hate to be wearing Depends at 85 and thinking "I gave up booze and cigarettes for three more years of this."