I tried $x$i
Help!!!
- Code: Select all
<? for ($i = 1; $i < 23; $i++) {
?>
<area shape="rect" coords="<? echo $x$i.",".$y$i.",".($x$i+10).",".($y$i+10) ?>" href="<? echo "$PHP_SELF?a_cor=1"; ?>" alt="<? echo $ponto$i[2] ?>">
<?
}
?>
Thanks
Miguel
Moderators: macek, egami, gesf
<? for ($i = 1; $i < 23; $i++) {
?>
<area shape="rect" coords="<? echo $x$i.",".$y$i.",".($x$i+10).",".($y$i+10) ?>" href="<? echo "$PHP_SELF?a_cor=1"; ?>" alt="<? echo $ponto$i[2] ?>">
<?
}
?>


<? for ($i = 1; $i < 23; $i++) {
?>
<area shape="rect" coords="<? echo $x.$i.",".$y.$i.",".($x.$i+10).",".($y.$i+10) ?>" href="<? echo "$PHP_SELF?a_cor=1"; ?>" alt="<? echo $ponto.$i[2] ?>">
<?
}
?>

<? for ($i = 1; $i < 23; $i++) {
?>
<area shape="rect" coords="<? echo $x.$i.",".$y.$i.",".($x.$i+10).",".($y.$i+10); ?>" href="<? echo "$PHP_SELF?a_cor=1"; ?>" alt="<? echo $ponto.$i[2]; ?>">
<?
}
?>


Return to PHP coding => General
Users browsing this forum: Google [Bot] and 5 guests