Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Derek Turner Newsgroups: comp.lang.php Subject: Re: rawurlencode problem Date: 20 Oct 2015 08:29:05 GMT Lines: 13 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net OBFswg4dSHyONlm7pxiBTQK4lSmELGjalnPgVfA0AfPMSDrbYC Cancel-Lock: sha1:a+uisLw72nKSk0uyvnj0TZPajyE= User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Xref: csiph.com comp.lang.php:15712 On Tue, 20 Oct 2015 07:21:28 +0200, J.O. Aho wrote: > Sorry, missed that you post back anything, but still more sane to use > the index, as you ALWAYS know the format of it, compare that with a > string, which has kind of unlimited formats and characters, one day > there may be a character which breaks your anchor again as it's not in > your replacement array. Sorry, I now realise that you are confusing the HTML 'id' property with the id in the database. The 'id' property in HTML serves as an anchor, taking the browser to the right

tag which is the deginning of the info pointed to by the link. In other words, a completely different sort of 'id'.