Im not sure how to output MySQL data into formats below. (eg: timelist, usersex, userage from table users.)
<script type="text/javascript">
timeList = new Array(),
userSex = new Array('female','male','male'),
userAge = new Array('21','36'),
userMid = new Array('liuple','anhu');
</script>
Thanks!