I've been looking for a solution to this problem for a while, and now my head's spinning as I can't find anything that looks right!
I have an array similar to below...
Code: Select all
$namesArray = array(
array("firstname"=>"John", "lastname"=>"Smith", "email"=>"johnsmith@gmail.com"),
array("firstname"=>"Arthur", "lastname"=>"Sixpence", "email"=>"arthur@yahoo.co.uk"),
array("firstname"=>"John", "lastname"=>"Green", "email"=>"john.green@yahoo.com"),
array("firstname"=>"Dave", "lastname"=>"Smith", "email"=>"d.smith@gmail.com")
)Anyone got any pointers, please?