Kenyans247 Forum

Welcome, Guest: Join Kenyans247 LOGIN!

Stats: 223 Members, 11,179 topics and 65 posts Date: Tuesday 31 March 2020 at 03:28 PM
TrendingRecentNewestClassifiedDirectoryLivescoresLive Kenyan TVLive Kenyan Radio

Printing the contents of a PHP Array

Kenyans247 / Science/Technology / Webmasters / Printing the contents of a PHP Array (13 View's)

Is Kenya Settling The China Loans With Crude Oil Printing The Contents Of A Php Array How Is Technology Changing The Culture Of Somalia? Why Is Usa Keeping Quiet When Burundi Government Is Killing The Civilians?
Ad Read latest Kenyan News here Visit Site
(Go Down) (» Reply topic)
Printing the contents of a PHP Array by Kenyans247(m): Sun 22, March, 2020 09:24am
This is a pretty common task, but it’s surprising how many PHP newbies don’t know about it yet. If you want to see the structure of your PHP Array, all you need to do is this:



print_r($myarray);

This will give you a listing of all the items in the array, including multi-dimensional arrays. Obviously this should only be used for testing / debugging purposes.

(» Reply topic) (» Go Up)

Recommended for you

» Nigerian Security Printing And Minting Company Limited » How Is Technology Changing The Culture Of Somalia? » Apple’s Longtime Design Chief Jony Ive Is Leaving The Company » The Nyali Bridge Is A Concrete Girder Bridge[1] Connecting The City Of Mombasa
Ad Read latest Kenyan News here Visit Site
Viewing this topic:
1 guest(s) viewing this topic

Sections: Career, Naija Forums, Homepage, Religion, Family, Universities, Innovation, Building/Architecture, Computers, Technology Market, Social Media/K247 Chit-Chat, Literature, Poetry, Celebrities, Sports, Burundi Forum, Somalia Forum, Rwanda Forum, Tanzania Forum, South Sudan Forum,

Kenyans247 - Copyright © 2019 - 2020 Sande Kennedy. All rights reserved. See How To Advertise.
Disclaimer: Every Kenyans247 member is solely responsible for anything that he/she posts or uploads on Kenyans247.