Alert Tab Giving PHP Memory Error