Skip site navigation (1) Skip section navigation (2)

Re: Stroring html form settings

From: Dianne Yumul <dianne(at)wellsgaming(dot)com>
To: pgsql-general(at)postgresql(dot)org (PostgreSQL List <pgsql-general(at)postgresql(dot)org>)
Subject: Re: Stroring html form settings
Date: 2008-09-26 16:34:44
Message-ID: AAC0EF34-AC34-4D3D-B860-AF0E6192DA0E@wellsgaming.com (view raw or flat)
Thread:
Lists: pgsql-general
> which webserver does your client want to implement?

Apache, sorry I forgot to mention.

> If JSLibrary = Dojo I would look at JSON (JavaScript Object  
> Notation language)

> I would serialize to JSON instead of XML.
> http://www.aurore.net/projects/php-json/
>
> A simple json_encode($_POST) might do the trick. You could either  
> use json_decode() to make a PHP struct of it or send it more or  
> less as it is to Javascript.

It looks like JSON is what we need. Would you suggest storing the key/ 
value pairs in the same info field on the database table?

Thank you very much Martin and Marcus. 

In response to

pgsql-general by date

Next:From: Martin GaintyDate: 2008-09-26 16:55:34
Subject: Re: Stroring html form settings
Previous:From: Dianne YumulDate: 2008-09-26 16:23:21
Subject: Re: Stroring html form settings

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group