remove associate array key using keyname php code example Example: php unset array key unset($dataArray['key']);