Hjælp til array fra $_POST from
Jeg har en dymanisk form som hentes ud fra mysql data:<INPUT name=sector1 value="1">
<INPUT name=sector2 value="2">
<INPUT name=sector3 value="3">
<INPUT name=sector4 value="4">
<INPUT name=location1 value="1">
<INPUT name=location2 value="2">
<INPUT name=location4 value="4">
<INPUT name=location5 value="5">
<INPUT name=location6 value="6">
Nu vil jeg gerne hente de $_POST[location[]] og $_POST[sectorid[]] som bliver valgt i formen.
select * from jobs WHERE locationid='$_POST[locationid[]]' AND sectorid='$_POST[sectorid[]]'
Men hvordan få jeg det til at virke???
