1. Home
  2. Computing & Technology
  3. PHP / MySQL
photo of Angela Bradley
Angela's PHP / MySQL Blog

By Angela Bradley, About.com Guide to PHP / MySQL

Printing Arrays

Monday June 19, 2006
Arrays are a handy way to store information, but they aren't always the easiest to read through. The Print_r () PHP function can be used to show an array in a more human-friendly way.
Comments
July 8, 2008 at 1:15 pm
(1) Rohan says:

How do I skip printing certain values in an array….for example, if i have the numbers 1 thru 100 in an array, and I only want to print numbers 1 thru 50?

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore PHP / MySQL
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. PHP / MySQL

©2009 About.com, a part of The New York Times Company.

All rights reserved.