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