Rumah > Artikel > pembangunan bahagian belakang > Parse error: syntax error, unexpected
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 {
$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 );