← All built-ins / ui_remove()

ui_remove()

ui_remove(...$args): int

Parameters

NameTypeDescription
$handleintlist/combo handle
$indexintitem index to remove

Return value

Removes one item.

Example

echo "ui_remove($list, 0);";
ui_remove($list, 0);

This call needs a real environment (window, server, database or stdin) — the snippet above shows the typical usage shape.

See also

ui_clear()ui_items()