Computer Science, asked by devishalu93, 8 days ago

How can I list the class of HTML div in php variable​

Answers

Answered by vaibhavi855
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 ramanimamidi06
0

Answer:

How much you can get the best way to get the best

Explanation:

Make my answer branliest

Similar questions