Thanks for your reply.
Even though it seemed that the problem was that, humm.. no, it doesn't work.
But if I put there this code:
<?
if($s!=1){
$result=mysql_query("SELECT * FROM utilizadores WHERE userID=$cookieuserID") or die(mysql_error());
$userInfo=mysql_fetch_array($result);
?>
...and replace the $ned_array with $userInfo as below, I only get the first result, this is, the first checkbox checked, even all of them should be.
Now it seems that here is missin some loop to display all the variable?!...
<input type="checkbox" name="ned_array[]" value="1" <?= ($userInfo["notif_empr_distrito"]==1)?"checked":""; ?>> Açores</td>
<?
if($s!=1){
$result=mysql_query("SELECT * FROM utilizadores WHERE userID=$cookieuserID") or die(mysql_error());
$userInfo=mysql_fetch_array($result);
?>