I figured what I was trying to do is easier to just send the ID and re
get the DB contents from the other side...

i am not pro-json for this..

will look into serialize.

thank you.


On Tue, Feb 23, 2010 at 5:13 AM, Gareth McCumskey <gmccums...@gmail.com> wrote:
> JSON isn't supported in PHP until 5.2 and was developed specifically
> for JavaScript (JavaScript Object Notation). Serialize is a built-in
> PHP function made for PHP, so its better generally to use that if
> you're coding in PHP :P.
>
> Agreed, potatoes potatoes, but often better to use what was built for
> the language than what was tacked on later to support a different
> language.
>
> On Tue, Feb 23, 2010 at 11:05 AM, rooster (Russ) <russmon...@gmail.com> wrote:
>>
>>
>> On Feb 23, 8:13 am, Gareth McCumskey <gmccums...@gmail.com> wrote:
>>> To answer .... make the value of the hidden field equal to the serialized 
>>> array
>>>
>>> http://www.php.net/serialize
>>>
>>
>> Ah yes I misunderstood the question - in my example it is possible but
>> a bit silly because you'd need a bunch of hidden fields. If you are
>> storing simple arrays, I'd recommend json - but potato potato ;o)
>>
>>> On Mon, Feb 22, 2010 at 10:42 PM, Samuel Morhaim
>>>
>>> <samuel.morh...@gmail.com> wrote:
>>> > This is maybe a regular html forms question, not neccesarily Symfony..
>>> > but.. how do I send an Array over a Form? is it possible? I have a
>>> > hidden field, and I would want to send an Array in it.. is this
>>> > possible?
>>>
>>> > Thanks.
>>>
>>> > --
>>> > You received this message because you are subscribed to the Google Groups 
>>> > "symfony users" group.
>>> > To post to this group, send email to symfony-us...@googlegroups.com.
>>> > To unsubscribe from this group, send email to 
>>> > symfony-users+unsubscr...@googlegroups.com.
>>> > For more options, visit this group 
>>> > athttp://groups.google.com/group/symfony-users?hl=en.
>>>
>>> --
>>> Gareth McCumskeyhttp://garethmccumskey.blogspot.com
>>> twitter: @garethmcc
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "symfony users" group.
>> To post to this group, send email to symfony-us...@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> symfony-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/symfony-users?hl=en.
>>
>>
>
>
>
> --
> Gareth McCumskey
> http://garethmccumskey.blogspot.com
> twitter: @garethmcc
>
> --
> You received this message because you are subscribed to the Google Groups 
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> symfony-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/symfony-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.

Reply via email to