PHP Arrays Tutorial - Learn PHP Programming

preview_player
Показать описание
Upgrade your Clever Techie learning experience:

UPDATE! (9/13/19) New features and improvements for Clever Techie Patreons:

1. Download full source code with detailed comments - easy to learn and understand code
2. Weekly source code file updates by Clever Techie - every time I learn new things about a topic I will add it to the source file and let you know about the update - keep up with the latest coding technologies
3. Library of custom Clever Techie functions with descriptive, easy to understand comments - skyrocket coding productivity, code more efficiently by using Clever library of custom re-usable functions
4. Syntax code summary - memorize and review previously learned code faster
4. Organized file structure - access all Clever Techie lessons, source code, graphics, diagrams and cheat sheet from a single workspace - no more searching around for previously covered material and source code - save enormous amount of time and effort
5. Outline of topics the source file covers - fast review of all previously learned coding lessons
6. Access to all full HD 1080p videos with no ads
7. Console input examples - interactive examples that make it easier to understand and learn coding
8. Access to updated PHP Programming Book by Clever Techie
9. Early access to Clever Techie videos

Subscribe to Clever Techie patreon:

````````````````````````````````````````````````````````````````````````````````````````````` In this PHP arrays tutorial, we cover basic PHP array syntax as well as advanced concepts like multidimensional arrays.

We use a built-in PHP function to read the directory with file names into a numeric PHP array. We then convert this numeric array into an associative array so that information is neatly organized.

Finally we use foreach loop to loop over the associative array and create nice looking HTML table out of movie names, cover images and release years. This video will give you a good understanding of PHP arrays and how useful they can be when working with data.

`````````````````````````````````````````````````````````````````````````````````````````````
Hey guys, I'm now using Patreon to share improved and updated video lesson material. For a small fee you can access all the downloadable files from this lesson (source code, icons & graphics, cheat sheets) and everything else included in the video from the Patreon page. Additionally, you will get access to ALL Clever Techie videos in HD format with no ads. Thank you so much for supporting Clever Techie :)

Download this video's files here:

( You also get access to ALL source code and any downloadable content of ALL Clever Techie videos, as well as access to ALL videos in HD 1080p quality format with all video ads removed! )

``````````````````````````````````````````````````````````````````````````````````````````````

``````````````````````````````````````````````````````````````````````````````````````````````
Рекомендации по теме
Комментарии
Автор

I had to come back and say thanks, this was a very helpful video when I started getting into php a couple of years ago for work and helped me a lot . I use what I learned back then on a daily basis now and have been able to do some really cool stuff (even built a few apps in c#), thanks again

Robfnord
Автор

Excelent display of usage of certain array functions in practice.
I went to the documentation and found that array_diff() can be used as you show in the video, that is to say removing items from the array. But also can be used comparing 2 arrays and it returns an array containing the elements from array1 that are not in array2.
Thanks for your video

SoniaChavez-jehq
Автор

Have you created the video about the regular expression you used?

MauFerrusca
Автор

Thanks for this great tutorial.
I have a question plz
Was there no other approach than to have a two-dimensions array(image, year) inside the one-dimension movie names array?

زنبقالشام-صق
Автор

It is amazing but i lost my way when did you write PREG_MATCH !!!

ihabs
Автор

Great video, do u have php course to buy?

sakmaestro
Автор

Such a FINE, fine tutorial. Thank you.

MauFerrusca
Автор

thx alot..functions and arrays are fun with ur vedios..
could you please explain what is best to store data as performance of sites ..is it array or tsble?

fatimajahaf
Автор

Nice..Thanks..simple but very helpful specially dealing with arrays..

ganztv
Автор

11:22 Suddenly $info appeared. where is this is declared before? is it PHP builtin variable?

kulasekaranamirthalingam
Автор

Gemini AI just sent me to your video lol

imperiodosgameplays
Автор

I tried with mp4 files but it display only last file. Would you please show me how I can display all files like jpg files.

hasanuzzamankhan
Автор

Question:

Is the pre_r function not just the same as a var_dump?

marcosmillet
Автор

can anyone link me the premag function video?

XMegaJuni
Автор

You've dumped too much stuff in this tutorial that has little to do with arrays. Maybe next time give your videos some more focus

graphikeye
Автор

it's fine... guyz any one who can help to create php shopping cart... but in easy way??

mistacodeTV
Автор

PLEASE HELP! Can't print out images to the browser
foreach ($music as $names => $info){
$content = "<td><span class =
."<img scr
."<span class = 'year'>( $info[year] )</span></td>";

boubacardiop
Автор

geees i couldn't even copy down properly the styles lol. images are displayed vertical vith years messed up)

minddecomp
Автор

I'm happy with it. But it's not for beginners on my opinion.

IsHardynafthardynaft
Автор

/lochsz abv vfr~tmp mrk w4''x avpxjn staachon < mtx S'' pach u vfr 6''x orb mol atmic thrm/
/2''x i abv vfr < e moch int= cjx djz avpxjn 6''x2''x UI' cholmn mol arb < ~tmp pjs arch mrk/
/prnt. mtx vd LN'' tun e moch thrm vk'' mrch < fst loch abv || dwn~tmp ext vd stch mol/
/in 8''x vk'' vfr mol cholmn < w~tmp 2''x i int=cjx djz avpxjn dmz < laa txt Wn mol id eml/

paulhetherington
visit shbcf.ru