I have a,b,c in a table with check boxes I want by clicking sub button echoing value of checkboxes that are checked
<?php
$array=array('a','b','c');
echo "<table border=2>";
for($i=0;$i<3;$i++)
{
echo "<tr>
$array[$i]
";
}
echo "";
if(array_key_exists('sub',$_POST))
if(isset($_POST['p']))
{
foreach($_POST['p'] as $key=>$value)
//I have problem here;
}
?>
I have problem in echoing and if(isset($_POST['p'])) is not working what I must do?
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)