How trasmit a Dictionary in a jsons form
Posted
by xRobot
on Stack Overflow
See other posts from Stack Overflow
or by xRobot
Published on 2010-05-23T08:21:05Z
Indexed on
2010/05/23
8:30 UTC
Read the original article
Hit count: 228
I have a dictionary in jsons form like this:
$user = "{ name: Mary , born: 1963, money: 213 }";
I need to pass it throught this field:
<input type="hidden" name="custom" value="" >
and then insert it in the db:
INSERT INTO user ( name, born, money ) VALUE ( $name, $born, $money )
How can I do that ?
© Stack Overflow or respective owner