php array

Discussion in 'PHP' started by khalidfarooq, Apr 5, 2010.

  1. #1
    i have 4 arrays each have 4 elements how i can join these arrays
    and i want only one element from each how help me
     
    khalidfarooq, Apr 5, 2010 IP
  2. guardian999

    guardian999 Well-Known Member

    Messages:
    376
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #2
    try array_merge to join.
     
    guardian999, Apr 5, 2010 IP
  3. khalidfarooq

    khalidfarooq Greenhorn

    Messages:
    82
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    18
    #3
    can i use the if else condition in php while loop
     
    khalidfarooq, Apr 6, 2010 IP
  4. dragongball

    dragongball Guest

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    you will lose a lot of processing resources to a problem and have done many times
     
    dragongball, Apr 6, 2010 IP
  5. Javed iqbal

    Javed iqbal Well-Known Member

    Messages:
    445
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #5
    This will help you, if not then explain your problem with code
    http://oreilly.com/catalog/progphp/chapter/ch05.html
     
    Javed iqbal, Apr 6, 2010 IP