Hi there,
This is the code:
while(list($key, value) = each($_POST['relatedlinks'])) {
if(!is_numeric($value)) {
die("Hacking attempt. Form not submitting numeric values.");
} else {
$relatedlinks_id[$key] = $value;
}
}
Firstly I'm positive there's a quicker way of doing that - but secondly if there isn't I can't figure this but apparently it wants a , or a ) on the first line. Not sure why though... I think I've got it all there. 😐
Thanks,
Chris