Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

checked()

3 tags 1 category

checked() — Outputs the HTML checked attribute. Compares the first two arguments and if identical marks as checked.

Inputs: $checked (mixed): One of the values to compare. $current (mixed): Optional. The other value to compare if not just true. Default true. $display (bool): Optional. Whether to echo or just return the string. Default true.

Returns string: HTML attribute or empty string.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…