In an app that I am building, I would like to create an array using contents that I have in a variable. This is my code:
$cont = '"q","w","e","r","t",';
$num = array(eval($cont));
foreach ($num as $v) {
echo "" . $v . "<br>OK<br><br>";
}
It returns nothing. I tried it with the eval, and without What am I doing wrong?