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