acctman Posted May 29, 2009 Share Posted May 29, 2009 i'm trying to do a one like IF statement combining to functions... but i'm getting an unexpected ; error. if (file_exists(unlink($imgpath . date("Y", $en['m_date']) . '/' . date("m", $en['m_date']) . '/' . $en['m_id'] . "/tmb/" . $filename)); Link to comment https://forums.phpfreaks.com/topic/160196-solved-if-statement-unexpected/ Share on other sites More sharing options...
Ken2k7 Posted May 29, 2009 Share Posted May 29, 2009 Uh... I don't think the error message can be any more clear. Remove the semi-colon at the end. Also add another closing parenthesis at the end. Though, the if statement makes NO sense to me. Link to comment https://forums.phpfreaks.com/topic/160196-solved-if-statement-unexpected/#findComment-845216 Share on other sites More sharing options...
acctman Posted May 29, 2009 Author Share Posted May 29, 2009 Uh... I don't think the error message can be any more clear. Remove the semi-colon at the end. Also add another closing parenthesis at the end. Though, the if statement makes NO sense to me. thanks, you solved my problem again =) Link to comment https://forums.phpfreaks.com/topic/160196-solved-if-statement-unexpected/#findComment-845218 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.