FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How to convert this PHP into JavaScript
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: How to convert this PHP into JavaScript [message #173207 is a reply to message #173204] Sun, 27 March 2011 15:42 Go to previous messageGo to previous message
sheldonlg is currently offline  sheldonlg
Messages: 166
Registered: September 2010
Karma:
Senior Member
On 3/27/2011 5:04 AM, Thomas 'PointedEars' Lahn wrote:
> 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.

I _did_ post an alternative. Someone (Denis?) then started in depth
criticizing what was only an illustration of a method. That alternative
method was to write a javascript script using PHP's print statement. If
_that_ is what you meant as "incorrect" (meaning the method, not the
minute details), then _YOU_ are incorrect. It works! Ergo, it is not
incorrect.

--
Shelly
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: website developers requirements
Next Topic: Aste - PHP template engine
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 05:10:23 GMT 2024

Total time taken to generate the page: 0.04318 seconds