appendChild(emptyHTML( INPUT(["type" => 'hidden', "name" => 'image_id', "value" => $image_id]), INPUT(["type" => 'submit', "value" => 'Delete', "onclick" => 'return confirm("Delete the image?");', "id" => "image_delete_button"]), )); return $form; } }