Well.. i just got done doing something like what you are trying to
accomplish... you will need to name your check boxes like so :
name=completed[]
when the form is submitted, I use something like this and shove it
into a field in the database:
if($_POST['completed'] NULL)
{
// This makes one
Joe Harman wrote:
Well.. i just got done doing something like what you are trying to
accomplish... you will need to name your check boxes like so :
name=completed[]
when the form is submitted, I use something like this and shove it
into a field in the database:
if($_POST['completed'] NULL)
{
//
M. Sokolewicz wrote:
Joe Harman wrote:
Well.. i just got done doing something like what you are trying to
accomplish... you will need to name your check boxes like so :
name=completed[]
when the form is submitted, I use something like this and shove it
into a field in the database:
It is wrong to use that way of doing it John, cause this will delete ALL
lines that where printed with a checkbox
And also, if you are using a old version of PHP with register globals OFF,
the _POST array will not be available
You are mistaken. $_POST['checkboxes'] will only contain those IDs
4 matches
Mail list logo