How should i output my MySQL data into json in this kind format?

Posted by sky on Stack Overflow See other posts from Stack Overflow or by sky
Published on 2010-04-19T13:39:42Z Indexed on 2010/04/19 13:43 UTC
Read the original article Hit count: 180

Filed under:
|
|
|

Im not sure how to output MySQL data into formats below. (eg: timelist, usersex, userage from table users.)

timeList = new Array(), userSex = new Array('female','male','male'), userAge = new Array('21','36'), userMid = new Array('liuple','anhu');

Thanks!

© Stack Overflow or respective owner

Related posts about php

Related posts about JSON