Hi,
Here is the code :
<?php
$x = 1;
$y = 2;
$size[0] = 3;
$size[1] = 4;
$strLien = "ALLO";
$strPrint = '<area shape="rect" coords="'.$x.','.$y.','.$x+$size[0].','.$y+$size[1].'" href="'.$strLien.'">';
$file_handler = fopen("./coord.txt","w");
fwrite($file_handler,$strPrint);
fclose($file_handler);
?>
The file contain:
7" href="ALLO">
and it should be :
<area shape="rect" coords="'1,2,3,4," href="ALLO">
Why? 😕