I am lost this is the problem.
I am creating a group of html form checkboxes and if any of them are outputted i am sending the values to a php array..
Code: Select all
echo '<form action="<span style='color:blue' title='I'm naughty, are you naughty?'>smurf</span>.php" method="post" />';
for ($i=0; $i<5; $i++)
{
echo '<input type="checkbox" name="$eraseThis[]" value="$i">';
}
echo '</form>';
the value is not going through how can i get the html value to be a php variable?