Kurt111780
Technical User
In php I have a file browser with checkboxes. When the from is submitted the selected checkboxes are put into an array. How can I do this in ASP.Net C# ?
Here is my php code:
It's only easy when you know how.
Here is my php code:
Code:
<input type=\"checkbox\" value=\"$hPath\" name=\"file[]\" />
Then on the page it submits to:
$arrayFileName = $_POST['file'];
foreach ($arrayFileName as $fileName)
{
echo $fileName;
}
It's only easy when you know how.