Php How To Solve Undefined Variable Error In Compact Function

Php How To Solve Undefined Variable Error In Compact Function