I have variables with values:
$abc = 'Y'; $xyz = 'N'; $pqr = 'Y'; $lmn = 'Y';
I want to create all the variables with value 'Y' in to an array, similar to as below:
'Y'
$result = ( abc, pqr, lmn)
Aucun commentaire:
Enregistrer un commentaire