rm redundant MySQL frontend php