---
title: "Discussion on \"Problem with handling HTML form checkboxes in php\" | Hashnode"
description: "Discussion on \"Problem with handling HTML form checkboxes in php\". php doesn't handle checkboxes properly in html forms. If you use\nMy Checkbox <input type=\"checkbox\" name=\"my_checkbox\" id=\"my_checkbox\"'.($current_value?'checked':'').' />\nYou'll only get a result for isset($_REQUEST['my_checkbox']) if the box is *ch..."
url: "https://hashnode.com/posts/problem-with-handling-html-form-checkboxes-in-php/65c4e7bb536980b2b4d6017f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Problem with handling HTML form checkboxes in php](https://roderickkennedy.com/problem-with-handling-html-form-checkboxes-in-php?utm_source=hashnode&utm_medium=feed)

php doesn't handle checkboxes properly in html forms. If you use My Checkbox <input type="checkbox" name="my\_checkbox" id="my\_checkbox"'.($current\_value?'checked':'').' /> You'll only get a result for isset($\_REQUEST\['my\_checkbox'\]) if the box is \*ch...

Feb 29, 2016 · 1 min read · roderickkennedy.com  
Read the article

## Written by

[Roderick Kennedy](https://hashnode.com/@roderick)

@roderick

  
[View profile](https://hashnode.com/@roderick)

Simulation and Virtual Reality

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
