Solution for Aradocx Problem PHP