코드:
결과보기 »
<!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <title>PHP Operators</title> </head> <body> <?php $num_01 = 15; $num_02 = 8; $result = ($num_01 > $num_02) ? $num_01 : $num_02; echo "둘 중에 더 큰수는 {$result}입니다."; ?> </body> </html>