Re: How to convert this PHP into JavaScript [message #173204 is a reply to message #173199] |
Sun, 27 March 2011 09:04 |
Thomas 'PointedEars'
Messages: 701 Registered: October 2010
Karma:
|
Senior Member |
|
|
sheldonlg wrote:
> On 3/26/2011 4:02 PM, Thomas 'PointedEars' Lahn wrote:
>> I do not know what "sheldonlg"'s and Jerry Stuckle's gripe is with this
>> solution, but until they come up with something substantial, I will just
>> ignore it.
>
> I have no gripe with your solution. I also have used json_encode in
> production environments. It is just that there is also an alternate
> method that the OP might prefer. There is more than one way to skin a
> cat.
So, instead of posting only the obvious, that which the proposed
json_encode() solution results in, you should have posted that alternate
solution of yours, because what Denis posted surely is not it.
And will you *please* trim your quotes to the relevant minimum. Proper
quoting really is not rocket science.
PointedEars
--
Danny Goodman's books are out of date and teach practices that are
positively harmful for cross-browser scripting.
-- Richard Cornford, cljs, <cife6q$253$1$8300dec7(at)news(dot)demon(dot)co(dot)uk> (2004)
|
|
|