#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2002
    Location
    near a computer
    Posts
    1
    Rep Power
    0

    Question PHP and JavaScript


    Hi,

    This a bit of a loaded question.

    Is JavaScript strong enough to have arrays? If so, is it possible to use a JavaScript array in PHP?

    If you could give me an example, it would be appreciated.
    Thank you,
  2. #2
  3. No Profile Picture
    Moderator =(8^(|)
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Feb 2002
    Location
    Sacramento, CA
    Posts
    1,710
    Rep Power
    14
    Yes, javascript has arrays. Javascript even has objects. It's fairly easy to create a javascript array using php. What exactly did you have in mind? Are you wanting to create a javascript array then manipulate it server-side?

IMN logo majestic logo threadwatch logo seochat tools logo