当前位置:Gxlcms >
PHP教程 >
Parseerror:syntaxerror,unexpected
Parseerror:syntaxerror,unexpected
时间:2021-07-01 10:21:17
帮助过:19人阅读
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_STRING or T_VARIABLE or '{' or '$' in/www/users/HA68734/WEB/m/include/inc_information.php on line 33
if ( 1 < $rowr['modid'] )
{
$extr = $db->getrow( "SELECT * FROM `".$db_mymps."information_{$rowr[modid]}` WHERE id ='{$id}'" );
if ( $extr )
{
$des = get_info_option_array( );
unset( $extr->'iid' );
unset( $extr->'id' );
unset( $extr->'content' );
foreach ( $extr as $k => $v )
{
$val = get_info_option_titval( $des[$k], $v );
$arr['title'] = $val['title'];
$arr['value'] = $val['value'];
$row['extra'][] = $arr;
$row[$k] = $v;
}
$des = NULL;
}
}
回复讨论(解决方案)
unset( $extr->'iid' );
unset( $extr->'id' );
unset( $extr->'content' );
有这么写的吗?
unset( $extr->iid ); unset( $extr->id ); unset( $extr->content );