le 23/10/2003 à 13:42
savageman
Hello, je voulais savoir si le contraire de ca:
if ( ( in_array("n2", $user["status"]) && ($news[$i]["poster_id"] == $user["id"]) ) OR ( in_array("n3", $user["status"]) ) OR ( in_array("dm", $user["status"]) ) )
etait bien ca:
if ( ( !in_array("n2", $user["status"]) OR ($news[$i]["poster_id"] != $user["id"]) ) AND ( !in_array("n3", $user["status"]) ) AND ( !in_array("dm", $user["status"]) ) )
Merci
if ( ( in_array("n2", $user["status"]) && ($news[$i]["poster_id"] == $user["id"]) ) OR ( in_array("n3", $user["status"]) ) OR ( in_array("dm", $user["status"]) ) )
etait bien ca:
if ( ( !in_array("n2", $user["status"]) OR ($news[$i]["poster_id"] != $user["id"]) ) AND ( !in_array("n3", $user["status"]) ) AND ( !in_array("dm", $user["status"]) ) )
Merci