How can I list the class of HTML div in php variable
Answers
Answered by
1
Explanation:
Yes, you can use it like
<?php
if(condition1 > condition2){
$variable = "class1";
}else{
$variable = "class2";
}
?>
<div class="<?php echo $variable; ?>" ></div>
Answered by
0
Answer:
How much you can get the best way to get the best
Explanation:
Make my answer branliest
Similar questions