Jump to content

PHP and Checkboxes


clanstyles

Recommended Posts

Problem is..$values[8] = $_POST['approved']; right?

<input type="checkbox" name="approved" id="approved" checked="<?php if($f['enabled']); ?>" />

 

but when I update updating $values[8] in the db it doesn't update.

 

I have a print out going and it returns blank. but if i check it it saids on.

Link to comment
https://forums.phpfreaks.com/topic/57805-php-and-checkboxes/#findComment-286413
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.