Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for JavaScript array from PHP string

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Mar 24, 2012 at 5:22 vote accept Community Bot
Mar 12, 2012 at 10:44 comment added Gergo Erdosi Fas K K Fasil: json_encode accepts an array, so you need to create an array in PHP first, like $array = array(1, 2, 3). Can't give you exact code, because I don't know how your application works.
Mar 12, 2012 at 10:42 vote accept Community Bot
Mar 12, 2012 at 10:54
Mar 12, 2012 at 10:39 comment added user2743235 Thanks for instant comment. Actually i want to know how i can make this string from PHP if values generate by a loop. ?
Mar 12, 2012 at 10:34 history edited Matthieu Napoli CC BY-SA 3.0
added 74 characters in body
Mar 12, 2012 at 10:29 history answered Gergo Erdosi CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /