in PHP i need to use this
$pdf->SetXY(56, 100);
but now i need the parameters in variables
$paramxy= "56, 100";
PHP doesn't seem to like me writing
$pdf->SetXY($paramxy);
it doesn't evaluate "$paramxw" as two separate values..
of course the easy solution would be :
$param[x]= 56;
$param[y]= 100;
$pdf->SetXY($param[x],$param[y]);
but i'd like it to be shorter and more readable, because I need lots of these two lines..
is there a "parse" like function that I could use, for example like that ?
$pdf_paramxy= "56, 100";
$pdf->SetXY(parse($paramxy));