<?php $attachments = array('a',2=>'b',3=>'c'); $id = (key($attachments)); echo $id;
You have javascript disabled. You will not be able to edit any code.