👾 php

php if else 조건문 echo 없이 html 출력

(。θᗨθ。) 2022. 6. 23. 12:49
<?php if($getCookieLang === "ko"): ?>
     <h2>한글일때</h2>
<?php elseif($getCookieLang === "en"): ?>
	<h2>영어일때</h2>
<?php endif ?>
728x90