Tarragon
چهارشنبه 20 اردیبهشت 1391, 15:13 عصر
سلام این کد چه اشکالی داره که این ارور رو می ده .
اید کد:
$i = 1;
while ( $i <= 9 )
{
if ( $this->_containBuildingTarget( $i ) )
{
$selectComboTargetOptions = sprintf("<option value="%s">%s</option>",$i,constant("item_".$i));
}
++$i;
}
اینم ارور :
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\wamp\www\v2v.php on line 6
اید کد:
$i = 1;
while ( $i <= 9 )
{
if ( $this->_containBuildingTarget( $i ) )
{
$selectComboTargetOptions = sprintf("<option value="%s">%s</option>",$i,constant("item_".$i));
}
++$i;
}
اینم ارور :
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\wamp\www\v2v.php on line 6