Thank you for the reply.
Now, I'm trying display values of the array and it gives me "Array" word near each checkbox. How can I print values of each substring near each box instead?
I have this code:
$keywords_main = array();
$get_keys = mysql_query("select field_a from table_data");
while ($row=mysql_fetch_array($get_keys))
{
$keys = explode(" ", $row['field_a']);
for ($i=0; $i<sizeof($keys); $i++)
{
$keywords_main[] = $keys[$i];
echo " <input type=\"checkbox\" value=\"{$keywords_main}\" name=\"keywords_main[]\">{$keywords_main}</input><br />\n";
}
Thank you,