PHP, HTML, CSS, JQUERY, MYSQL Tutorials

999Tutorials.com – Your Tutorial Spot

Entries Tagged ‘array’

Get first key, last key, first value and last value in Array

Associative arrays are great, and they work perfectly when working with foreach. But what do you do if you just want the first key in the array or the last value?

PHP String functions: implode

A couple of years ago we published a short article with some tips on good string functions. Didn’t think it would be that appreciated, but lots of people has emailed us and thanked us for the examples and ideas on how to use the functions. So here we go again, a new function to explain: [...]