While trying to create a dir dynamically i encountered an error:
trying to work around it i tested:
$str="properties/".$id;
$str=sprintf("mkdir('%s',0777);",$str);
so i can later eval the $str but have discovered that the output string terminates after $id is inserted.
for example if $id=123 the result will be:
mkdir('properties/123
?!!!
$id value is coming in on a form submit.
if i set its value strickly ($id=123) it comes out ok .
so $id definatly has a value but it forces parsing to quit just after it is inserted in the str.