foreach($theset as $letter){
if($letter == "#"): $letter = "[0-9]";
$thesequence = "/^$letter/i";
if(preg_match($thesequence, $thename)){
if($letter == "[0-9]"): $letter = "num";
${$letter}[] = $thename;
}
}
this is a segment of the whole code, im getting an error on the first closing bracket }, anyone know why?
edit: changed one thing, problem changed though =o