Which of the following is the correct syntax for an if-else statement in PHP? Mark as favorite Copy Link if(condition){ code }else{ code } if(condition) code; else code; if{condition} code; else code; if condition then code else code endif; Check Answer