Php Multidimensional Array Check If Link