PHP Tutorial // Rewriting the PHP Sort Function

preview_player
Показать описание
Download phpDesigner7 free for 21days!

In this tutorial I cover how to rewrite a method of sorting an array.

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

Thank you much! I spent 3 hours looking at other tutorials trying to sort numbers without any luck, and in 10 minutes I was able to make it work with your tutorial, first try. Thanks again!!

LTAlbertini
Автор

Don't forget to NOT use count() inside your for() loop. Set a variable first, and since you're checking the count() more than once, might as well set it at the beginning of the function.

BrianDiChiara
Автор

@pule44 You use explode on the input textarea and split them by a new line (\n). Make a separate array for valid emails and for each valid email just add that email to the new array.

MarcusRecck
Автор

@willzurmacht Glad you're learning something :)

MarcusRecck
Автор

@pule44 PHP has built into filters that can the validity of an email.

MarcusRecck
Автор

you should have told in this video why you using for loops..you just writing and not explaining the code..

Zoyaa
join shbcf.ru