I want to be able to had values to an array one value at a time instead of all at once
here is an example of what i want to do
if check box is checked
{
array(1=>"True")
}
else
{
}
if checkbox2 is checked
{
array(2=>"True")
}
else
{
}
if is doesn't get checked i do not want to add anything to the array i only want to add things to the array if it is checked.
Adding values into an array HELP HELP
Moderator: General Moderators
-
stantheman
- Forum Commoner
- Posts: 38
- Joined: Wed May 26, 2004 8:57 am
Code: Select all
$your_arrayї1] = 'True'-
stantheman
- Forum Commoner
- Posts: 38
- Joined: Wed May 26, 2004 8:57 am